You are here

protected function StateMachine::init in State Machine 7.2

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

Initialize the state machine using the provided create_state and create_event methods.

1 call to StateMachine::init()
StateMachine::__construct in inc/base.inc
3 methods override StateMachine::init()
StateFlow::init in modules/state_flow/plugins/state_flow.inc
Called from StateMachine::__construct to initialize the states and events. Define two states. First revision:
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 25
base.inc

Class

StateMachine
@file base.inc

Code

protected function init() {
}