You are here

function og_access_menu in Organic groups 5.7

Same name and namespace in other branches
  1. 5.8 og_access.module \og_access_menu()
  2. 5 og_access.module \og_access_menu()
  3. 5.3 og_access.module \og_access_menu()
  4. 6.2 modules/og_access/og_access.module \og_access_menu()
  5. 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;
}