public function PluginBase::buildOptionsForm in Drupal 10
Same name and namespace in other branches
- 8 core/modules/views/src/Plugin/views/PluginBase.php \Drupal\views\Plugin\views\PluginBase::buildOptionsForm()
- 9 core/modules/views/src/Plugin/views/PluginBase.php \Drupal\views\Plugin\views\PluginBase::buildOptionsForm()
6 calls to PluginBase::buildOptionsForm()
- 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.
- Role::buildOptionsForm in core/
modules/ user/ src/ Plugin/ views/ access/ Role.php - Provide a form to edit options for this plugin.
- Some::buildOptionsForm in core/
modules/ views/ src/ Plugin/ views/ pager/ Some.php - Provide the default form for setting options.
- SqlBase::buildOptionsForm in core/
modules/ views/ src/ Plugin/ views/ pager/ SqlBase.php - Provide the default form for setting options.
9 methods override PluginBase::buildOptionsForm()
- DisplayExtenderPluginBase::buildOptionsForm in core/
modules/ views/ src/ Plugin/ views/ display_extender/ DisplayExtenderPluginBase.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.
- 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.
- Role::buildOptionsForm in core/
modules/ user/ src/ Plugin/ views/ access/ Role.php - Provide a form to edit options for this plugin.
File
- core/
modules/ views/ src/ Plugin/ views/ PluginBase.php, line 265
Class
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',
];
}