You are here

function og_access_menu in Organic groups 6

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. 5.7 og_access.module \og_access_menu()
  5. 6.2 modules/og_access/og_access.module \og_access_menu()

File

modules/og_access/og_access.module, line 15

Code

function og_access_menu() {
  $items['admin/og/og_access'] = array(
    'title' => 'Organic groups access configuration',
    'description' => 'Choose whether new groups should be private or public.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'og_access_settings',
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
  );
  return $items;
}