1.20.x views_plugin_display.inc | views_plugin_display::is_defaulted($option) |
Determine if a given option is set to use the default display or the current display
Return value
TRUE for the default display:
File
- modules/
views/ plugins/ views_plugin_display.inc, line 803 - Contains the base display plugin.
Class
- views_plugin_display
- The default display plugin handler. Display plugins handle options and basic mechanisms for different output methods.
Code
function is_defaulted($option) {
return !$this->is_default_display() && !empty($this->default_display) && !empty($this->options['defaults'][$option]);
}