1 views_plugin_argument_default_user.inc views_plugin_argument_default_user::options_form(&$form, &$form_state)

Provide the default form for setting options.

Overrides views_plugin_argument_default::options_form

File

core/modules/user/views/views_plugin_argument_default_user.inc, line 19
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'],
  );
}