You are here

function patterns_executing in Patterns 7

Same name and namespace in other branches
  1. 5 patterns.module \patterns_executing()
  2. 6.2 patterns.module \patterns_executing()
  3. 6 patterns.module \patterns_executing()
  4. 7.2 includes/core/common.inc \patterns_executing()

@TODO Doc.

Parameters

unknown_type $b:

1 call to patterns_executing()
patterns_execute_action in includes/core/common.inc
Execute an action.

File

includes/core/common.inc, line 382
The common functions used by the Batch and PHP running modes.

Code

function patterns_executing($b = NULL) {
  static $executing = FALSE;
  if (is_bool($b)) {
    $executing = $b;
  }
  return $executing;
}