function RulesEventSet::executeByArgs
Overrides RulesContainerPlugin::executeByArgs
File
-
includes/
rules.plugins.inc, line 833
Class
- RulesEventSet
- This class is used for caching the rules to be evaluated per event.
Code
public function executeByArgs($args = array()) {
rules_log('Reacting on event %label.', array(
'%label' => $this->info['label'],
), RulesLog::INFO, NULL, TRUE);
$state = $this->setUpState($args);
module_invoke_all('rules_config_execute', $this);
$this->evaluate($state);
$state->cleanUp($this);
rules_log('Finished reacting on event %label.', array(
'%label' => $this->info['label'],
), RulesLog::INFO, NULL, FALSE);
}