function views_plugin_display::set_option

cis7 views_plugin_display.inc views_plugin_display::set_option($option, $value)
cle7 views_plugin_display.inc views_plugin_display::set_option($option, $value)
elmsmedia7 views_plugin_display.inc views_plugin_display::set_option($option, $value)
icor7 views_plugin_display.inc views_plugin_display::set_option($option, $value)
meedjum_blog7 views_plugin_display.inc views_plugin_display::set_option($option, $value)
mooc7 views_plugin_display.inc views_plugin_display::set_option($option, $value)

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

13 calls to views_plugin_display::set_option()
eva_plugin_display_entity::options_submit in sites/all/modules/ulmus/eva/eva_plugin_display_entity.inc
views_content_plugin_display_ctools_context::options_submit in sites/all/modules/ulmus/ctools/views_content/plugins/views/views_content_plugin_display_ctools_context.inc
Perform any necessary changes to the form values prior to storage. There is no need for this function to actually store the data.
views_content_plugin_display_panel_pane::options_submit in sites/all/modules/ulmus/ctools/views_content/plugins/views/views_content_plugin_display_panel_pane.inc
Perform any necessary changes to the form values prior to storage. There is no need for this function to actually store the data.
views_content_plugin_display_panel_pane::set_pane_conf in sites/all/modules/ulmus/ctools/views_content/plugins/views/views_content_plugin_display_panel_pane.inc
views_data_export_plugin_display_export::options_submit in sites/all/modules/local_contrib/views_data_export/plugins/views_data_export_plugin_display_export.inc
Save the options from the options form.

... See full list

File

sites/all/modules/ulmus/views/plugins/views_plugin_display.inc, line 1026
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 set_option($option, $value) {
  if ($this->is_defaulted($option)) {
    return $this->default_display->set_option($option, $value);
  }

  // Set this in two places: On the handler where we'll notice it
  // but also on the display object so it gets saved. This should
  // only be a temporary fix.
  $this->display->display_options[$option] = $value;
  return $this->options[$option] = $value;
}