| @@ -23,21 +23,15 @@ | ||
| 23 | 23 | protected function include_form_builder_file() { |
| 24 | 24 | return $this->include_front_form_file(); |
| 25 | 25 | } |
| 26 | 26 | |
| 27 | - /** | |
| 28 | - * @return bool[] | |
| 29 | - */ | |
| 30 | 27 | protected function field_settings_for_type() { |
| 31 | 28 | return array( |
| 32 | 29 | 'clear_on_focus' => true, |
| 33 | - 'size' => true, | |
| 30 | + 'size' => true, | |
| 34 | 31 | ); |
| 35 | 32 | } |
| 36 | 33 | |
| 37 | - /** | |
| 38 | - * @return string[] | |
| 39 | - */ | |
| 40 | 34 | protected function new_field_settings() { |
| 41 | 35 | return array( |
| 42 | 36 | 'options' => serialize( |
| 43 | 37 | array( |
| @@ -61,27 +55,18 @@ | ||
| 61 | 55 | } |
| 62 | 56 | |
| 63 | 57 | /** |
| 64 | 58 | * @since 4.0 |
| 65 | - * | |
| 66 | 59 | * @param array $args - Includes 'field', 'display', and 'values' |
| 67 | - * | |
| 68 | - * @return void | |
| 69 | 60 | */ |
| 70 | 61 | public function show_extra_field_choices( $args ) { |
| 71 | 62 | $this->auto_width_setting( $args ); |
| 72 | 63 | } |
| 73 | 64 | |
| 74 | - /** | |
| 75 | - * @return string | |
| 76 | - */ | |
| 77 | 65 | protected function include_front_form_file() { |
| 78 | 66 | return FrmAppHelper::plugin_path() . '/classes/views/frm-fields/front-end/dropdown-field.php'; |
| 79 | 67 | } |
| 80 | 68 | |
| 81 | - /** | |
| 82 | - * @return bool | |
| 83 | - */ | |
| 84 | 69 | protected function show_readonly_hidden() { |
| 85 | 70 | return true; |
| 86 | 71 | } |
| 87 | 72 | |