You are here

function spaces_og_access_admin in Spaces 7.3

Same name and namespace in other branches
  1. 6.3 spaces_og/spaces_og.module \spaces_og_access_admin()
  2. 7 spaces_og/spaces_og.module \spaces_og_access_admin()

Access callback for OG administrative items under node/%. Prevents items from showing up under node types that are not groups.

1 string reference to 'spaces_og_access_admin'
spaces_og_menu_alter in spaces_og/spaces_og.module
Implements hook_menu_alter().

File

spaces_og/spaces_og.module, line 205

Code

function spaces_og_access_admin($node) {
  return og_is_group_type('node', $node->type) ? spaces_access_admin() : FALSE;
}