| Conditions | 1 |
| Paths | 1 |
| Total Lines | 41 |
| Code Lines | 28 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 25 | public function init() |
||
| 26 | { |
||
| 27 | $this->setForms([ |
||
| 28 | 'professions' => [ |
||
| 29 | 'options' => [ |
||
| 30 | 'label' => 'Professions', |
||
| 31 | ], |
||
| 32 | 'entity' => 'professions', |
||
| 33 | 'property' => true, |
||
| 34 | 'forms' => [ |
||
| 35 | 'professions' => [ |
||
| 36 | 'type' => 'Core/Tree/Management', |
||
| 37 | 'property' => true, |
||
| 38 | 'options' => [ |
||
| 39 | 'enable_descriptions' => true, |
||
| 40 | 'description' => /*@translate*/ 'Manage the professions you want to assign to jobs.', |
||
| 41 | 'display_mode' => SummaryForm::DISPLAY_SUMMARY, |
||
| 42 | ], |
||
| 43 | ], |
||
| 44 | ], |
||
| 45 | ], |
||
| 46 | 'employmentTypes' => [ |
||
| 47 | 'options' => [ |
||
| 48 | 'label' => 'Employment Types', |
||
| 49 | ], |
||
| 50 | 'entity' => 'employmentTypes', |
||
| 51 | 'property' => true, |
||
| 52 | 'forms' => [ |
||
| 53 | 'employmentTypes' => [ |
||
| 54 | 'type' => 'Core/Tree/Management', |
||
| 55 | 'property' => true, |
||
| 56 | 'options' => [ |
||
| 57 | 'enable_descriptions' => true, |
||
| 58 | 'description' => /*@translate*/ 'Manage the employment types you want to assign to jobs.', |
||
| 59 | 'display_mode' => SummaryForm::DISPLAY_SUMMARY, |
||
| 60 | ], |
||
| 61 | ], |
||
| 62 | ], |
||
| 63 | ], |
||
| 64 | ]); |
||
| 65 | } |
||
| 66 | } |
||
| 67 |