function views_plugin_display::override_option

3.x views_plugin_display.inc views_plugin_display::override_option($option, $value)
2.x views_plugin_display.inc views_plugin_display::override_option($option, $value)

Set an option and force it to be an override.

File

plugins/views_plugin_display.inc, line 640
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 override_option($option, $value) {
  $this->set_override($option, FALSE);
  $this->set_option($option, $value);
}