You are here

protected function StateMachine::on_event_fail in State Machine 7

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

Method to be called when firing an event fails for any reason.

2 calls to StateMachine::on_event_fail()
StateFlow::fire_event in modules/state_flow/plugins/state_flow.inc
Extending fire_event() from state_machine's base.inc to add uid and log arguments.
StateMachine::fire_event in inc/base.inc
Trigger an event to process a transition. Callbacks and guard conditions will be processed in the following order:

File

inc/base.inc, line 192
base.inc

Class

StateMachine
@file base.inc

Code

protected function on_event_fail($event) {
}