function PluginBase::buildOptionsForm
Same name in other branches
- 9 core/modules/views/src/Plugin/views/PluginBase.php \Drupal\views\Plugin\views\PluginBase::buildOptionsForm()
- 8.9.x core/modules/views/src/Plugin/views/PluginBase.php \Drupal\views\Plugin\views\PluginBase::buildOptionsForm()
- 10 core/modules/views/src/Plugin/views/PluginBase.php \Drupal\views\Plugin\views\PluginBase::buildOptionsForm()
Overrides ViewsPluginInterface::buildOptionsForm
6 calls to PluginBase::buildOptionsForm()
- HandlerBase::buildOptionsForm in core/
modules/ views/ src/ Plugin/ views/ HandlerBase.php - None::buildOptionsForm in core/
modules/ views/ src/ Plugin/ views/ pager/ None.php - Provide the default form for setting options.
- RowPluginBase::buildOptionsForm in core/
modules/ views/ src/ Plugin/ views/ row/ RowPluginBase.php - Provide a form for setting options.
- Some::buildOptionsForm in core/
modules/ views/ src/ Plugin/ views/ pager/ Some.php - Provide the default form for setting options.
- StylePluginBase::buildOptionsForm in core/
modules/ views/ src/ Plugin/ views/ style/ StylePluginBase.php
16 methods override PluginBase::buildOptionsForm()
- ArgumentDefaultPluginBase::buildOptionsForm in core/
modules/ views/ src/ Plugin/ views/ argument_default/ ArgumentDefaultPluginBase.php - Provide the default form for setting options.
- ArgumentValidatorPluginBase::buildOptionsForm in core/
modules/ views/ src/ Plugin/ views/ argument_validator/ ArgumentValidatorPluginBase.php - Provides the default form for setting options.
- DisplayExtenderPluginBase::buildOptionsForm in core/
modules/ views/ src/ Plugin/ views/ display_extender/ DisplayExtenderPluginBase.php - Provide a form to edit options for this plugin.
- DisplayPluginBase::buildOptionsForm in core/
modules/ views/ src/ Plugin/ views/ display/ DisplayPluginBase.php - Provide a form to edit options for this plugin.
- ExposedFormPluginBase::buildOptionsForm in core/
modules/ views/ src/ Plugin/ views/ exposed_form/ ExposedFormPluginBase.php - Provide a form to edit options for this plugin.
File
-
core/
modules/ views/ src/ Plugin/ views/ PluginBase.php, line 270
Class
- PluginBase
- Base class for any views plugin types.
Namespace
Drupal\views\Plugin\viewsCode
public function buildOptionsForm(&$form, FormStateInterface $form_state) {
// Some form elements belong in a fieldset for presentation, but can't
// be moved into one because of the $form_state->getValues() hierarchy. Those
// elements can add a #fieldset => 'fieldset_name' property, and they'll
// be moved to their fieldset during pre_render.
$form['#pre_render'][] = [
static::class,
'preRenderAddFieldsetMarkup',
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.