1 redirect_handler_field_redirect_operations.inc redirect_handler_field_redirect_operations::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_operations.inc, line 21
Redirect field handler for redirect operations.

Class

redirect_handler_field_redirect_operations

Code

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