function views_handler_field_user::options_form

Same name in other branches
  1. 7.x-3.x modules/user/views_handler_field_user.inc \views_handler_field_user::options_form()

Provide link to node option

Overrides views_handler_field::options_form

2 calls to views_handler_field_user::options_form()
views_handler_field_user_mail::options_form in modules/user/views_handler_field_user_mail.inc
Provide link to node option
views_handler_field_user_name::options_form in modules/user/views_handler_field_user_name.inc
Provide link to node option
2 methods override views_handler_field_user::options_form()
views_handler_field_user_mail::options_form in modules/user/views_handler_field_user_mail.inc
Provide link to node option
views_handler_field_user_name::options_form in modules/user/views_handler_field_user_name.inc
Provide link to node option

File

modules/user/views_handler_field_user.inc, line 28

Class

views_handler_field_user
Field handler to provide simple renderer that allows linking to a user.

Code

function options_form(&$form, &$form_state) {
    parent::options_form($form, $form_state);
    $form['link_to_user'] = array(
        '#title' => t('Link this field to its user'),
        '#description' => t('This will override any other link you have set.'),
        '#type' => 'checkbox',
        '#default_value' => $this->options['link_to_user'],
    );
}