You are here

protected function StateMachine::init in State Machine 7.3

Same name and namespace in other branches
  1. 6 inc/base.inc \StateMachine::init()
  2. 7 inc/base.inc \StateMachine::init()
  3. 7.2 inc/base.inc \StateMachine::init()

Initialize the state machine.

Uses the provided create_state and create_event methods.

1 call to StateMachine::init()
StateMachine::__construct in inc/base.inc
Create instance of StateMachine.
3 methods override StateMachine::init()
StateFlowEntity::init in modules/state_flow_entity/plugins/state_flow_entity.inc
Called from StateMachine::__construct to initialize the states and events.
StateMachine_Test::init in tests/state_machine.test
Called from StateMachine::__construct to initialize the states and events.
TestMachine::init in ./state_machine.api.php
Called from StateMachine::__construct to initialize the states and events.

File

inc/base.inc, line 36
Defines the base classes of the state machine.

Class

StateMachine
The base class.

Code

protected function init() {
}