function og_variables_og_ui_get_group_admin in OG Variables 7
Implements hook_og_ui_get_group_admin()
File
- ./
og_variables.module, line 236 - Per space management of variables.
Code
function og_variables_og_ui_get_group_admin($group_type, $gid) {
$items = array();
if (og_user_access($group_type, $gid, 'manage variables')) {
$items['manage_variables'] = array(
'title' => t('Variables'),
'description' => t('Manage variable overrides'),
'href' => 'admin/variables',
);
}
return $items;
}