1 views_plugin_display_block.inc views_plugin_display_block::set_override_options(array $options)

Set the options that should be overridden within this display.

This function is intended to be called from the block class.

Parameters

array $options: An array of options the override that of this view.

File

core/modules/views/plugins/views_plugin_display_block.inc, line 54
Contains the block display plugin.

Class

views_plugin_display_block
The plugin that handles a block.

Code

function set_override_options(array $options) {
  $this->set_option('override_options', $options);
  $this->has_override_options = TRUE;
}