public function StateFlowEntity::get_entity_id_key in State Machine 7.3
Get the revision key for this entity type.
1 call to StateFlowEntity::get_entity_id_key()
- StateFlowEntity::get_history_entity in modules/
state_flow_entity/ plugins/ state_flow_entity.inc - Get the state flow history entity.
File
- modules/
state_flow_entity/ plugins/ state_flow_entity.inc, line 217 - State Flow implementation of the State Machine class.
Class
- StateFlowEntity
- @file State Flow implementation of the State Machine class.
Code
public function get_entity_id_key() {
$entity_type = $this
->get_entity_type();
$entity_info = entity_get_info($entity_type);
return $entity_info['entity keys']['id'];
}