function og_broadcast_access in Organic groups 6.2
Same name and namespace in other branches
- 5.8 og.module \og_broadcast_access()
- 5.3 og.module \og_broadcast_access()
- 6 og.module \og_broadcast_access()
Access callback to use group broadcast.
og_notifications (or similar) is required for the broadcast tab. Override menu item to substitute another module.
File
- ./
og.module, line 2926 - Code for the Organic Groups module.
Code
function og_broadcast_access($node) {
return og_is_group_admin($node) && module_exists('og_notifications');
}