You are here

function views_plugin_argument_default_variable::option_definition in Variable 7

Same name and namespace in other branches
  1. 7.2 variable_views/includes/views_plugin_argument_default_variable.inc \views_plugin_argument_default_variable::option_definition()

Retrieve the options when this is a new access control plugin.

Overrides views_plugin_argument_default::option_definition

File

variable_views/includes/views_plugin_argument_default_variable.inc, line 11
Contains the php code argument default plugin.

Class

views_plugin_argument_default_variable
Default argument plugin to provide a variable value.

Code

function option_definition() {
  $options = parent::option_definition();
  $options['variable'] = array(
    'default' => '',
  );
  return $options;
}