| 1: | <?php |
| 2: | |
| 3: | |
| 4: | |
| 5: | |
| 6: | |
| 7: | |
| 8: | namespace Aurora\Modules\ContactsWebclient; |
| 9: | |
| 10: | use Aurora\System\SettingsProperty; |
| 11: | |
| 12: | |
| 13: | |
| 14: | |
| 15: | |
| 16: | |
| 17: | class Settings extends \Aurora\System\Module\Settings |
| 18: | { |
| 19: | protected function initDefaults() |
| 20: | { |
| 21: | $this->aContainer = [ |
| 22: | "Disabled" => new SettingsProperty( |
| 23: | false, |
| 24: | "bool", |
| 25: | null, |
| 26: | "Setting to true disables the module", |
| 27: | ), |
| 28: | "AvailableFor" => new SettingsProperty( |
| 29: | [ |
| 30: | "MailWebclient" |
| 31: | ], |
| 32: | "array", |
| 33: | null, |
| 34: | "Automatically provide this feature if one of the listed modules is requested by the entry point", |
| 35: | ), |
| 36: | ]; |
| 37: | } |
| 38: | } |
| 39: | |