You are here

public function webform_workflow_views_handler_field_state::init in Webform Workflow 7

Overrides parent::init().

Overrides views_handler_field::init

File

includes/views/handlers/webform_workflow_views_handler_field_state.inc, line 13
Views field handler to display a webform submission's workflow state.

Class

webform_workflow_views_handler_field_state
@file Views field handler to display a webform submission's workflow state.

Code

public function init(&$view, &$options) {
  parent::init($view, $options);
  $this->additional_fields['color'] = array(
    'table' => 'webform_workflow_state',
    'field' => 'color',
  );
}