You are here

public function webform_handler_field_webform_status::options_form in Webform 7.3

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

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

Overrides views_handler_field_boolean::options_form

File

views/webform_handler_field_webform_status.inc, line 16
Views handler to display the open or closed status of a webform.

Class

webform_handler_field_webform_status

Code

public function options_form(&$form, &$form_state) {
  parent::options_form($form, $form_state);
  $form['type']['#options'] = array(
    'open-closed' => t('Open/Closed'),
  ) + $form['type']['#options'];
}