You are here

public function StateFlowEntity::set_object in State Machine 7.3

1 call to StateFlowEntity::set_object()
StateFlowEntity::__construct in modules/state_flow_entity/plugins/state_flow_entity.inc
Create instance of StateMachine.

File

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

Class

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

Code

public function set_object($object) {
  $this->object = $object;

  // Set a reference to this machine to the object.
  $object->state_flow = $this;
}