You are here

public function TestMachine::on_enter_published in State Machine 7.3

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

Actions when entering the state.

File

./state_machine.api.php, line 66
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_enter_published() {

  // Do some stuff.
}