function rules_conditional_if in Conditional Rules 8
Same name and namespace in other branches
- 7 rules_conditional.module \rules_conditional_if()
Creates an "if".
1 call to rules_conditional_if()
- RulesConditional::call_if in includes/
rules_conditional.plugin.inc - Adds an "if" statement, for use with magic call.
File
- ./
rules_conditional.module, line 30 - Main module file.
Code
function rules_conditional_if($predicate, array $settings = array()) {
return new RulesConditionalIf($predicate, $settings);
}