| @@ -13,16 +13,8 @@ | ||
| 13 | 13 | * @since 3.0 |
| 14 | 14 | */ |
| 15 | 15 | protected $type = 'textarea'; |
| 16 | 16 | |
| 17 | - /** | |
| 18 | - * @var bool | |
| 19 | - */ | |
| 20 | - protected $array_allowed = false; | |
| 21 | - | |
| 22 | - /** | |
| 23 | - * @return bool[] | |
| 24 | - */ | |
| 25 | 17 | protected function field_settings_for_type() { |
| 26 | 18 | return array( |
| 27 | 19 | 'size' => true, |
| 28 | 20 | 'clear_on_focus' => true, |
| @@ -28,11 +20,8 @@ | ||
| 28 | 20 | 'clear_on_focus' => true, |
| 29 | 21 | ); |
| 30 | 22 | } |
| 31 | 23 | |
| 32 | - /** | |
| 33 | - * @return array | |
| 34 | - */ | |
| 35 | 24 | protected function extra_field_opts() { |
| 36 | 25 | return array( |
| 37 | 26 | 'max' => '5', |
| 38 | 27 | ); |
| @@ -39,10 +28,8 @@ | ||
| 39 | 28 | } |
| 40 | 29 | |
| 41 | 30 | /** |
| 42 | 31 | * @param string $name |
| 43 | - * | |
| 44 | - * @return void | |
| 45 | 32 | */ |
| 46 | 33 | public function show_on_form_builder( $name = '' ) { |
| 47 | 34 | $size = FrmField::get_option( $this->field, 'size' ); |
| 48 | 35 | $max = FrmField::get_option( $this->field, 'max' ); |
| @@ -65,21 +52,8 @@ | ||
| 65 | 52 | protected function prepare_display_value( $value, $atts ) { |
| 66 | 53 | FrmFieldsHelper::run_wpautop( $atts, $value ); |
| 67 | 54 | |
| 68 | 55 | return $value; |
| 69 | - } | |
| 70 | - | |
| 71 | - /** | |
| 72 | - * @since 6.0 | |
| 73 | - * | |
| 74 | - * @param array $field | |
| 75 | - * @param string $default_name | |
| 76 | - * @param mixed $default_value | |
| 77 | - * | |
| 78 | - * @return void | |
| 79 | - */ | |
| 80 | - public function show_default_value_field( $field, $default_name, $default_value ) { | |
| 81 | - include FrmAppHelper::plugin_path() . '/classes/views/frm-fields/back-end/textarea-default-value-field.php'; | |
| 82 | 56 | } |
| 83 | 57 | |
| 84 | 58 | /** |
| 85 | 59 | * @param array $args |