1 redirect_handler_field_redirect_link_edit.inc redirect_handler_field_redirect_link_edit::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/redirect/views/redirect_handler_field_redirect_link_edit.inc, line 19
Redirect field handler for edit links.

Class

redirect_handler_field_redirect_link_edit

Code

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