You are here

public function DisplayPluginBase::optionsOverride in Drupal 8

Same name and namespace in other branches
  1. 9 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\display

Code

public function optionsOverride($form, FormStateInterface $form_state) {
  $this
    ->setOverride($form_state
    ->get('section'));
}