| 1 | <?php |
||
| 10 | class Moo_EditableFieldCheckbox extends Moo_EditableField |
||
| 11 | { |
||
| 12 | private static $singular_name = 'Checkbox Field'; |
||
| 13 | private static $plural_name = 'Checkboxes'; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * List of allowed custom settings fields. |
||
| 17 | * |
||
| 18 | * @var array |
||
| 19 | */ |
||
| 20 | protected $customSettingsFields = [ |
||
| 21 | 'Default', |
||
| 22 | ]; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Get extra configuration fields. |
||
| 26 | * |
||
| 27 | * @return array |
||
| 28 | */ |
||
| 29 | public function getFieldConfiguration() |
||
| 35 | |||
| 36 | 1 | protected function initFormField() |
|
| 40 | } |
||
| 41 |