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

Provide link to node option

Overrides views_handler_field_user::options_form

File

core/modules/user/views/views_handler_field_user_mail.inc, line 20
Definition of views_handler_field_user_mail.

Class

views_handler_field_user_mail
Field handler to provide acess control for the email field.

Code

function options_form(&$form, &$form_state) {
  parent::options_form($form, $form_state);
  $form['link_to_user'] = array(
    '#title' => t('Link this field'),
    '#type' => 'radios',
    '#options' => array(
      0 => t('No link'),
      'user' => t('To the user'),
      'mailto' => t("With a mailto:"),
    ),
    '#default_value' => $this->options['link_to_user'],
  );
}