function 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 2045

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'));
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.