You are here

function og_massadd_og_ui_get_group_admin in Organic Groups Mass Add 7

Implements hook_og_ui_get_group_admin().

File

./og_massadd.module, line 104
The og_massadd module file

Code

function og_massadd_og_ui_get_group_admin($group_type, $gid) {
  $items = array();
  if (og_user_access($group_type, $gid, 'add user')) {
    $items['add_mass_people'] = array(
      'title' => t('Mass upload of user'),
      'description' => t('Mass add group members.'),
      'href' => 'admin/people/mass-add-user',
    );
    $items['find_add_mass_people'] = array(
      'title' => t('Find and add users'),
      'description' => t('Find and add group members.'),
      'href' => 'admin/people/mass-add-user-filter',
    );
  }
  return $items;
}