| Conditions | 1 |
| Paths | 1 |
| Total Lines | 16 |
| Code Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 40 | public function init() |
||
| 41 | { |
||
| 42 | $this->setName('profile-setting'); |
||
| 43 | $this->add([ |
||
| 44 | 'type' => 'select', |
||
| 45 | 'name' => 'profileSetting', |
||
| 46 | 'options' => [ |
||
| 47 | 'label' => /*@translate*/ 'Setting', |
||
| 48 | 'value_options' => [ |
||
| 49 | Organization::PROFILE_ALWAYS_ENABLE => /*@translate*/ 'Always enable profile', |
||
| 50 | Organization::PROFILE_ACTIVE_JOBS => /*@translate*/ 'Enable only when active jobs available', |
||
| 51 | Organization::PROFILE_DISABLED => /*@translate*/ 'Disabled viewing profile', |
||
| 52 | ] |
||
| 53 | ] |
||
| 54 | ]); |
||
| 55 | } |
||
| 56 | |||
| 77 |