public function DisplayPluginBase::optionsOverride in Drupal 9
Same name and namespace in other branches
- 8 core/modules/views/src/Plugin/views/display/DisplayPluginBase.php \Drupal\views\Plugin\views\display\DisplayPluginBase::optionsOverride()
If override/revert was clicked, perform the proper toggle.
Overrides DisplayPluginInterface::optionsOverride
File
- core/
modules/ views/ src/ Plugin/ views/ display/ DisplayPluginBase.php, line 2046
Class
- DisplayPluginBase
- Base class for views display plugins.
Namespace
Drupal\views\Plugin\views\displayCode
public function optionsOverride($form, FormStateInterface $form_state) {
$this
->setOverride($form_state
->get('section'));
}