You are here

public function StateFlowEntity::set_history_entity in State Machine 7.3

Set the state flow history entity.

4 calls to StateFlowEntity::set_history_entity()
StateFlowEntity::entityPresave in modules/state_flow_entity/plugins/state_flow_entity.inc
Called by hook_entity_presave().
StateFlowEntity::entity_saved in modules/state_flow_entity/plugins/state_flow_entity.inc
Called by hook_entity_insert() / hook_entity_update().
StateFlowEntity::history_entity_form_submit_build_entity in modules/state_flow_entity/plugins/state_flow_entity.inc
Build up a full state flow history entity from form values.
StateFlowEntity::write_history in modules/state_flow_entity/plugins/state_flow_entity.inc
Write the transaction to the history table.

File

modules/state_flow_entity/plugins/state_flow_entity.inc, line 333
State Flow implementation of the State Machine class.

Class

StateFlowEntity
@file State Flow implementation of the State Machine class.

Code

public function set_history_entity($history_entity) {
  $this->history_entity = $this
    ->clean_history_entity($history_entity);
}