public function PluginBase::buildOptionsForm in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/views/src/Plugin/views/PluginBase.php \Drupal\views\Plugin\views\PluginBase::buildOptionsForm()
Provide a form to edit options for this plugin.
Overrides ViewsPluginInterface::buildOptionsForm
13 calls to PluginBase::buildOptionsForm()
- 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.
- HandlerBase::buildOptionsForm in core/
modules/ views/ src/ Plugin/ views/ HandlerBase.php - Provide a form to edit options for this plugin.
- None::buildOptionsForm in core/
modules/ views/ src/ Plugin/ views/ pager/ None.php - Provide the default form for setting options.
- Permission::buildOptionsForm in core/
modules/ user/ src/ Plugin/ views/ access/ Permission.php - Provide a form to edit options for this plugin.
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 - Provide 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 269 - Contains \Drupal\views\Plugin\views\PluginBase.
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'][] = array(
get_class($this),
'preRenderAddFieldsetMarkup',
);
}