You are here

protected function StateMachine::init in State Machine 6

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

Initialize the state machine using the provided addState and addEvent methods.

1 call to StateMachine::init()
StateMachine::__construct in inc/base.inc
2 methods override StateMachine::init()
StateFlow::init in modules/state_flow/plugins/state_flow.inc
Initialize the state machine using the provided addState and addEvent methods.
StateMachine_Test::init in tests/state_machine.test
Called from StateMachine::__construct to initialize the states and events.

File

inc/base.inc, line 20

Class

StateMachine

Code

protected function init() {
}