You are here

public function StateFlowTest::skip_to_publish in State Machine 7.2

Override what event is used to skip directly to publish

Overrides StateFlow::skip_to_publish

File

modules/state_flow/state_flow.api.php, line 168
Define a new StateMachine for the node

Class

StateFlowTest
Define a new workflow for a node type

Code

public function skip_to_publish() {
  return 'immediate publish';
}