You are here

function activity_views_handler_field_activity_link_delete::options_form in Activity 7

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

Overrides views_handler_field::options_form

File

views/views_handler_fields.inc, line 47
Provides the Views Field Handlers.

Class

activity_views_handler_field_activity_link_delete
Presents a link to delete an activity.

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