1 views_plugin_display.inc views_plugin_display::get_option($option)

Intelligently get an option either from this display or from the default display, if directed to do so.

File

core/modules/views/plugins/views_plugin_display.inc, line 789
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 get_option($option) {
  if ($this->is_defaulted($option)) {
    return $this->default_display->get_option($option);
  }

  if (array_key_exists($option, $this->options)) {
    return $this->options[$option];
  }
}