You are here

function patterns_executing in Patterns 5

Same name and namespace in other branches
  1. 6.2 patterns.module \patterns_executing()
  2. 6 patterns.module \patterns_executing()
  3. 7.2 includes/core/common.inc \patterns_executing()
  4. 7 includes/core/common.inc \patterns_executing()
1 call to patterns_executing()
patterns_execute_action in ./patterns.module
Execute an action

File

./patterns.module, line 1092
Enables extremely simple adding/removing features to your site with minimal to no configuration

Code

function patterns_executing($b = null) {
  static $executing = false;
  if (is_bool($b)) {
    $executing = $b;
  }
  return $executing;
}