You are here

public function views_plugin_display::override_option in Views (for Drupal 7) 7.3

Same name and namespace in other branches
  1. 6.3 plugins/views_plugin_display.inc \views_plugin_display::override_option()
  2. 6.2 plugins/views_plugin_display.inc \views_plugin_display::override_option()

Set an option and force it to be an override.

File

plugins/views_plugin_display.inc, line 1135
Definition of views_plugin_display.

Class

views_plugin_display
The default display plugin handler. Display plugins handle options and basic mechanisms for different output methods.

Code

public function override_option($option, $value) {
  $this
    ->set_override($option, FALSE);
  $this
    ->set_option($option, $value);
}