protected function StateMachine::init in State Machine 7.2
Same name and namespace in other branches
- 6 inc/base.inc \StateMachine::init()
- 7.3 inc/base.inc \StateMachine::init()
- 7 inc/base.inc \StateMachine::init()
Initialize the state machine using the provided create_state and create_event methods.
1 call to StateMachine::init()
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
Class
- StateMachine
- @file base.inc
Code
protected function init() {
}