You are here

public function webform_handler_field_submission_link::options_form in Webform 7.3

Same name and namespace in other branches
  1. 6.3 views/webform_handler_field_submission_link.inc \webform_handler_field_submission_link::options_form()
  2. 7.4 views/webform_handler_field_submission_link.inc \webform_handler_field_submission_link::options_form()

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

Overrides views_handler_field::options_form

File

views/webform_handler_field_submission_link.inc, line 53
Views handler to display links to a submission.

Class

webform_handler_field_submission_link
Field handler to present a link to the user.

Code

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