public function StateFlowNode::on_exit_scheduled in State Machine 7.3
Handle unpublishing / publishing.
Usually StateFlowNode::on_exit_published() handles this - but since scheduling shouldn't change the state during scheduling we do it here too.
Overrides StateFlowEntity::on_exit_scheduled
See also
StateFlowNode::on_exit_published()
File
- modules/
state_flow/ plugins/ state_flow_node.inc, line 54 - State Flow implementation of the State Machine class
Class
- StateFlowNode
- Class StateFlowNode.
Code
public function on_exit_scheduled() {
// Fire the previously skipped hook.
$this
->on_exit_published();
parent::on_exit_scheduled();
}