You are here

function og_menu_single_og_permission in OG Menu Single 7

Implement hook_og_permission().

File

./og_menu_single.module, line 308
Creates a single menu per organic group on a site.

Code

function og_menu_single_og_permission() {
  $items = array();
  $items['manage menu'] = array(
    'title' => t('Manage menu'),
    'description' => t('Manage group menu for this group.'),
    'default role' => array(
      OG_ADMINISTRATOR_ROLE,
    ),
    'restrict access' => TRUE,
  );
  return $items;
}