You are here

protected function StateMachine::on_event_fail in State Machine 7.3

Same name and namespace in other branches
  1. 6 inc/base.inc \StateMachine::on_event_fail()
  2. 7 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.

4 calls to StateMachine::on_event_fail()
StateFlowEntity::entityPresave in modules/state_flow_entity/plugins/state_flow_entity.inc
Called by hook_entity_presave().
StateFlowEntity::entity_saved in modules/state_flow_entity/plugins/state_flow_entity.inc
Called by hook_entity_insert() / hook_entity_update().
StateFlowEntity::fire_event in modules/state_flow_entity/plugins/state_flow_entity.inc
Extending fire_event() from state_machine's base.inc.
StateMachine::fire_event in inc/base.inc
Trigger an event to process a transition.

File

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

Class

StateMachine
The base class.

Code

protected function on_event_fail($event) {
}