You are here

public function views_handler_field_user_link::options_form in Views (for Drupal 7) 7.3

Same name and namespace in other branches
  1. 6.3 modules/user/views_handler_field_user_link.inc \views_handler_field_user_link::options_form()
  2. 6.2 modules/user/views_handler_field_user_link.inc \views_handler_field_user_link::options_form()

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

Overrides views_handler_field::options_form

1 call to views_handler_field_user_link::options_form()
views_handler_field_contact_link::options_form in modules/contact/views_handler_field_contact_link.inc
Default options form provides the label widget that all fields should have.
1 method overrides views_handler_field_user_link::options_form()
views_handler_field_contact_link::options_form in modules/contact/views_handler_field_contact_link.inc
Default options form provides the label widget that all fields should have.

File

modules/user/views_handler_field_user_link.inc, line 35
Definition of views_handler_field_user_link.

Class

views_handler_field_user_link
Field handler to present a link to the user.

Code

public 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);
}