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

Default options form that provides the label widget that all fields should have.

Overrides views_handler_field::options_form

File

core/modules/user/views/views_handler_field_user_link.inc, line 25
Definition of views_handler_field_user_link.

Class

views_handler_field_user_link
Field handler to present a link to the user.

Code

function options_form(&$form, &$form_state) {
  $form['text'] = array(
    '#type' => 'textfield',
    '#title' => t('Text to display'),
    '#default_value' => $this->options['text'],
  );
  parent::options_form($form, $form_state);
}