public function DisplayPluginBase::overrideOption in Views (for Drupal 7) 8.3
Set an option and force it to be an override.
File
- lib/
Drupal/ views/ Plugin/ views/ display/ DisplayPluginBase.php, line 919 - Definition of Drupal\views\Plugin\views\display\DisplayPluginBase.
Class
- DisplayPluginBase
- The default display plugin handler. Display plugins handle options and basic mechanisms for different output methods.
Namespace
Drupal\views\Plugin\views\displayCode
public function overrideOption($option, $value) {
$this
->setOverride($option, FALSE);
$this
->setOption($option, $value);
}