1 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

core/modules/views/plugins/views_plugin_display.inc, line 781
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]);
}