You are here

function redirect_handler_field_redirect_link_delete::options_form in Redirect 7.2

Same name and namespace in other branches
  1. 7 views/redirect_handler_field_redirect_link_delete.inc \redirect_handler_field_redirect_link_delete::options_form()

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

Overrides views_handler_field::options_form

File

views/redirect_handler_field_redirect_link_delete.inc, line 20
Redirect field handler for edit links.

Class

redirect_handler_field_redirect_link_delete
@file Redirect field handler for edit links.

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'],
  );
}