1 | <?php |
||
10 | class Moo_EditableFieldText extends Moo_EditableField |
||
11 | { |
||
12 | private static $singular_name = 'Text Field'; |
||
13 | private static $plural_name = 'Text Fields'; |
||
14 | |||
15 | /** |
||
16 | * List of allowed custom settings fields. |
||
17 | * |
||
18 | * @var array |
||
19 | */ |
||
20 | protected $customSettingsFields = [ |
||
21 | 'MinLength', 'MaxLength', 'Rows', |
||
22 | ]; |
||
23 | |||
24 | /** |
||
25 | * Get extra configuration fields. |
||
26 | * |
||
27 | * @return array |
||
28 | */ |
||
29 | 1 | public function getFieldConfiguration() |
|
45 | |||
46 | /** |
||
47 | * @return TextareaField|TextField |
||
48 | */ |
||
49 | 1 | protected function initFormField() |
|
60 | } |
||
61 |