public function views_plugin_argument_default_user::options_form in Views (for Drupal 7) 7.3
Same name and namespace in other branches
- 6.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 26 - Definition of views_plugin_argument_default_user.
Class
- views_plugin_argument_default_user
- Default argument plugin to extract a user via menu_get_object.
Code
public 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'],
);
}