public function DisplayPluginInterface::setOverride in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php \Drupal\views\Plugin\views\display\DisplayPluginInterface::setOverride()
Flip the override setting for the given section.
Parameters
string $section: Which option should be marked as overridden, for example "filters".
bool $new_state: Select the new state of the option:
- TRUE: Revert new state option to default.
- FALSE: Mark it as overridden.
1 method overrides DisplayPluginInterface::setOverride()
- DisplayPluginBase::setOverride in core/
modules/ views/ src/ Plugin/ views/ display/ DisplayPluginBase.php - Flip the override setting for the given section.
File
- core/
modules/ views/ src/ Plugin/ views/ display/ DisplayPluginInterface.php, line 373 - Contains \Drupal\views\Plugin\views\display\DisplayPluginInterface.
Class
- DisplayPluginInterface
- Provides an interface for Views display plugins.
Namespace
Drupal\views\Plugin\views\displayCode
public function setOverride($section, $new_state = NULL);