| 1 | <?php |
||
| 10 | class Moo_EditableFieldHeading extends Moo_EditableField |
||
| 11 | { |
||
| 12 | private static $singular_name = 'Heading'; |
||
| 13 | private static $plural_name = 'Headings'; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * List of allowed custom settings fields. |
||
| 17 | * |
||
| 18 | * @var array |
||
| 19 | */ |
||
| 20 | protected $customSettingsFields = [ |
||
| 21 | 'Level', |
||
| 22 | ]; |
||
| 23 | |||
| 24 | public function getCMSFields() |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Get extra configuration fields. |
||
| 36 | * |
||
| 37 | * @return array |
||
| 38 | */ |
||
| 39 | public function getFieldConfiguration() |
||
| 57 | |||
| 58 | 1 | protected function initFormField() |
|
| 65 | } |
||
| 66 |