public function state_flow_entity_handler_field_state_flow_states::construct in State Machine 7.3
Construct a new field handler.
Overrides views_handler_field::construct
File
- modules/
state_flow_entity/ includes/ views/ state_flow_entity_handler_field_state_flow_states.inc, line 14 - A helper class that is extended by state_flow_entity_handler_field_link and state_flow_entity_handler_field_events_form.
Class
- state_flow_entity_handler_field_state_flow_states
- @file A helper class that is extended by state_flow_entity_handler_field_link and state_flow_entity_handler_field_events_form.
Code
public function construct() {
parent::construct();
$this->additional_fields['entity_type'] = array(
'table' => 'state_flow_states',
'field' => 'entity_type',
);
$this->additional_fields['entity_id'] = array(
'table' => 'state_flow_states',
'field' => 'entity_id',
);
$this->additional_fields['revision_id'] = array(
'table' => 'state_flow_states',
'field' => 'revision_id',
);
$this->additional_fields['active'] = array(
'table' => 'state_flow_states',
'field' => 'active',
);
}