You are here

public function TestMachine::on_exit_published in State Machine 7.3

Same name and namespace in other branches
  1. 7 state_machine.api.php \TestMachine::on_exit_published()
  2. 7.2 state_machine.api.php \TestMachine::on_exit_published()

Actions when leaving the state.

File

./state_machine.api.php, line 73
State Machine Developer Documentation

Class

TestMachine
The State Machine module is an API only. You must extend the StateMachine class to use this module. Extend the StateMachine class to get started

Code

public function on_exit_published() {

  // Do some stuff.
}