function og_access_menu in Organic groups 5.8
Same name and namespace in other branches
- 5 og_access.module \og_access_menu()
- 5.3 og_access.module \og_access_menu()
- 5.7 og_access.module \og_access_menu()
- 6.2 modules/og_access/og_access.module \og_access_menu()
- 6 modules/og_access/og_access.module \og_access_menu()
File
- ./
og_access.module, line 15
Code
function og_access_menu($may_cache) {
if ($may_cache) {
$items[] = array(
'path' => 'admin/og/og_access',
'title' => t('Organic groups access configuration'),
'description' => t('Choose whether new groups should be private or public'),
'callback' => 'drupal_get_form',
'callback arguments' => array(
'og_access_settings',
),
);
}
return $items;
}