public function state_flow_entity_handler_field_available_events::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_available_events.inc, line 15 - Prints available state change events for a given entity.
Class
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',
);
}