You are here

function og_menu in Organic groups 7

Same name and namespace in other branches
  1. 5.8 og.module \og_menu()
  2. 5 og.module \og_menu()
  3. 5.2 og.module \og_menu()
  4. 5.3 og.module \og_menu()
  5. 5.7 og.module \og_menu()
  6. 6.2 og.module \og_menu()
  7. 6 og.module \og_menu()
  8. 7.2 og.module \og_menu()

Implements hook_menu().

File

./og.module, line 343
Enable users to create and manage groups with roles and permissions.

Code

function og_menu() {
  $items = array();
  $items['group/autocomplete'] = array(
    'title' => 'group autocomplete',
    'page callback' => 'og_field_audience_autocomplete',
    'access arguments' => array(
      'access content',
    ),
    'type' => MENU_CALLBACK,
  );
  return $items;
}