function og_rules_condition_content_is_group in Organic groups 6
Same name and namespace in other branches
- 6.2 includes/og.rules.inc \og_rules_condition_content_is_group()
Condition: Content is a group.
File
- includes/
og.rules.inc, line 221 - Rules integration for the og module.
Code
function og_rules_condition_content_is_group($node, $settings) {
return og_is_group_type($node->type);
}