You are here

function webform_handler_field_webform_status::option_definition in Webform 6.3

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

File

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

Class

webform_handler_field_webform_status
@file Views handler to display the open or closed status of a webform.

Code

function option_definition() {
  $options = parent::option_definition();
  $options['type']['default'] = 'open-closed';
  return $options;
}