public function DisplayPluginBase::isEnabled in Views (for Drupal 7) 8.3
Whether the display is enabled.
Return value
bool Returns TRUE if the display is marked as enabled, else FALSE.
File
- lib/
Drupal/ views/ Plugin/ views/ display/ DisplayPluginBase.php, line 253 - 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 isEnabled() {
return (bool) $this
->getOption('enabled');
}