function TextareaWidget::settingsForm
Same name in other branches
- 8.9.x core/modules/text/src/Plugin/Field/FieldWidget/TextareaWidget.php \Drupal\text\Plugin\Field\FieldWidget\TextareaWidget::settingsForm()
- 10 core/modules/text/src/Plugin/Field/FieldWidget/TextareaWidget.php \Drupal\text\Plugin\Field\FieldWidget\TextareaWidget::settingsForm()
- 11.x core/modules/text/src/Plugin/Field/FieldWidget/TextareaWidget.php \Drupal\text\Plugin\Field\FieldWidget\TextareaWidget::settingsForm()
Overrides StringTextareaWidget::settingsForm
1 call to TextareaWidget::settingsForm()
- TextareaWithSummaryWidget::settingsForm in core/
modules/ text/ src/ Plugin/ Field/ FieldWidget/ TextareaWithSummaryWidget.php - Returns a form to configure settings for the widget.
1 method overrides TextareaWidget::settingsForm()
- TextareaWithSummaryWidget::settingsForm in core/
modules/ text/ src/ Plugin/ Field/ FieldWidget/ TextareaWithSummaryWidget.php - Returns a form to configure settings for the widget.
File
-
core/
modules/ text/ src/ Plugin/ Field/ FieldWidget/ TextareaWidget.php, line 26
Class
- TextareaWidget
- Plugin implementation of the 'text_textarea' widget.
Namespace
Drupal\text\Plugin\Field\FieldWidgetCode
public function settingsForm(array $form, FormStateInterface $form_state) {
$element = parent::settingsForm($form, $form_state);
$element['rows']['#description'] = $this->t('Text editors (like CKEditor) may override this setting.');
return $element;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.