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; } /** * Alter existing group admin menu items. * * @param $data * The menu items passed by reference. */ function hook_og_ui_get_group_admin_alter(&$data) { // Hijack the add people to use a custom implementation. $items['add_people']['href'] = 'admin/people/custom-add-user'; } /** * @} End of "addtgrouproup hooks". */