You are here

public function RulesState::isBlocked in Rules 7.2

Returns whether a rules configuration should be blocked from execution.

File

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

Class

RulesState
The rules evaluation state.

Code

public function isBlocked($rule_config) {
  return !empty($rule_config->id) && isset(self::$blocked[$rule_config->id]);
}