You are here

function rules_link_invoke_component in Rules Link 7

Same name and namespace in other branches
  1. 7.2 rules_link.module \rules_link_invoke_component()
2 calls to rules_link_invoke_component()
rules_link_check_visibility in ./rules_link.module
rules_link_trigger in ./rules_link.module
Triggers a rule set from a rules link.

File

./rules_link.module, line 304
Rules Link - module file.

Code

function rules_link_invoke_component($name, $args) {
  if ($component = rules_get_cache('comp_' . $name)) {
    return $component
      ->executeByArgs($args);
  }
}