1 views_plugin_argument_default_user.inc views_plugin_argument_default_user::option_definition()

Retrieve the options when this is a new access control plugin

Overrides views_plugin_argument_default::option_definition

File

core/modules/user/views/views_plugin_argument_default_user.inc, line 11
Contains the user from URL argument default plugin.

Class

views_plugin_argument_default_user
Default argument plugin to extract a user via menu_get_object.

Code

function option_definition() {
  $options = parent::option_definition();
  $options['user'] = array('default' => '', 'bool' => TRUE, 'translatable' => FALSE);

  return $options;
}