You are here

function hook_og_ui_get_group_admin in Organic groups 7

Same name and namespace in other branches
  1. 7.2 og_ui/og_ui.api.php \hook_og_ui_get_group_admin()

Add a menu item that should appear in the group admin page.

1 function implements hook_og_ui_get_group_admin()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

og_ui_og_ui_get_group_admin in og_ui/og_ui.module
Implementation of hook_og_ui_get_group_admin()
1 invocation of hook_og_ui_get_group_admin()
og_ui_get_group_admin in og_ui/og_ui.module
Get all the group admin menu items.

File

og_ui/og_ui.api.php, line 17
Hooks provided by the Organic groups module.

Code

function hook_og_ui_get_group_admin() {
  $items = array();
  $items['add_people'] = array(
    'title' => t('Add people'),
    'description' => t('Add group members.'),
    // The final URL will be "group/$entity_type/$etid/admin/people/add-user".
    'href' => 'admin/people/add-user',
  );
  return $items;
}