1 views_plugin_argument_default_php.inc views_plugin_argument_default_php::option_definition()

Retrieve the options when this is a new access control plugin

Overrides views_plugin_argument_default::option_definition

File

core/modules/views/plugins/views_plugin_argument_default_php.inc, line 14
Contains the php code argument default plugin.

Class

views_plugin_argument_default_php
Default argument plugin to provide a PHP code block.

Code

function option_definition() {
  $options = parent::option_definition();
  $options['code'] = array('default' => '');

  return $options;
}