function og_workflow_ng_condition_user_in_group in Organic groups 5.8
Same name and namespace in other branches
- 5 og_workflow_ng.inc \og_workflow_ng_condition_user_in_group()
- 5.3 og_workflow_ng.inc \og_workflow_ng_condition_user_in_group()
Condition: User is group member.
File
- ./
og_workflow_ng.inc, line 170 - workflow_ng integration for og module.
Code
function og_workflow_ng_condition_user_in_group($user, $node, $settings) {
return og_is_group_member($node->nid, $user);
}