function views_plugin_argument_default_user::option_definition in Views (for Drupal 7) 6.3
Same name and namespace in other branches
- 7.3 modules/user/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
- modules/
user/ 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;
}