You are here

public function webform_handler_field_submission_link::options_form in Webform 7.4

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.3 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 47

Class

webform_handler_field_submission_link
Views handler to display links to a submission.

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'],
    '#description' => t('The token [serial] will be replaced with the serial number and draft indication.'),
  );
  $form['access_check'] = array(
    '#type' => 'checkbox',
    '#title' => t('Verify submission access for each link'),
    '#default_value' => $this->options['access_check'],
  );
}