You are here

function shurly_handler_field_shurly_link_delete::options_form in ShURLy 7

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

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

Overrides views_handler_field::options_form

File

views/shurly_handler_field_shurly_link_delete.inc, line 25
Shurly Views handler for delete links function

Class

shurly_handler_field_shurly_link_delete
Field handler to present a link to the short URL entry.

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