function TextCustom::buildOptionsForm
Same name in other branches
- 9 core/modules/views/src/Plugin/views/area/TextCustom.php \Drupal\views\Plugin\views\area\TextCustom::buildOptionsForm()
- 10 core/modules/views/src/Plugin/views/area/TextCustom.php \Drupal\views\Plugin\views\area\TextCustom::buildOptionsForm()
- 11.x core/modules/views/src/Plugin/views/area/TextCustom.php \Drupal\views\Plugin\views\area\TextCustom::buildOptionsForm()
Overrides TokenizeAreaPluginBase::buildOptionsForm
File
-
core/
modules/ views/ src/ Plugin/ views/ area/ TextCustom.php, line 28
Class
- TextCustom
- Views area text handler.
Namespace
Drupal\views\Plugin\views\areaCode
public function buildOptionsForm(&$form, FormStateInterface $form_state) {
parent::buildOptionsForm($form, $form_state);
$form['content'] = [
'#title' => $this->t('Content'),
'#type' => 'textarea',
'#default_value' => $this->options['content'],
'#rows' => 6,
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.