You are here

function og_broadcast_access in Organic groups 6.2

Same name and namespace in other branches
  1. 5.8 og.module \og_broadcast_access()
  2. 5.3 og.module \og_broadcast_access()
  3. 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.

1 string reference to 'og_broadcast_access'
og_menu in ./og.module
Implementation of hook_menu().

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');
}