You are here

function views_handler_field_variable::option_definition in Views Variable Field 7

Information about options for all kinds of purposes will be held here.

Return value

array Returns the options of this handler/plugin.

Overrides views_handler_field::option_definition

See also

views_object::export_option()

views_object::export_option_always()

views_object::unpack_translatable()

File

includes/views/views_handler_field_variable.inc, line 48
Definition of views_handler_field_variable.

Class

views_handler_field_variable
A handler to provide a field that display system variables.

Code

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