You are here

public function RulesState::block in Rules 7.2

Block a rules configuration from execution.

1 call to RulesState::block()
RulesState::mergeSaveVariables in includes/rules.state.inc
Merges info from the given state into the existing state.

File

includes/rules.state.inc, line 92
Contains the state and data related stuff.

Class

RulesState
The rules evaluation state.

Code

public function block($rules_config) {
  if (empty($rules_config->recursion) && $rules_config->id) {
    self::$blocked[$rules_config->id] = TRUE;
  }
}