You are here

function state_flow_skip_workflow in State Machine 7.2

Same name and namespace in other branches
  1. 7.3 modules/state_flow/state_flow.module \state_flow_skip_workflow()

Determine whether the workflow should be skipped on a node

Parameters

unknown_type $node:

2 calls to state_flow_skip_workflow()
state_flow_node_presave in modules/state_flow/state_flow.module
Implements hook_node_presave().
state_flow_node_update in modules/state_flow/state_flow.module
Implements hook_node_update().

File

modules/state_flow/state_flow.module, line 766
An implementation of node revision workflow for Drupal based on the State Machine system.

Code

function state_flow_skip_workflow($node) {
  if (!isset($node->stateflow_skip_workflow)) {
    return FALSE;
  }
  return $node->stateflow_skip_workflow;
}