function views_plugin_argument_default_user::options_form 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::options_form()
Provide the default form for setting options.
Overrides views_plugin_argument_default::options_form
File
- modules/
user/ views_plugin_argument_default_user.inc, line 18 - 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 options_form(&$form, &$form_state) {
$form['user'] = array(
'#type' => 'checkbox',
'#title' => t('Also look for a node and use the node author'),
'#default_value' => $this->options['user'],
);
}