You are here

function og_context_menu in Organic groups 7.2

Same name and namespace in other branches
  1. 7 og_context/og_context.module \og_context_menu()

Implements hook_menu().

File

og_context/og_context.module, line 13
Get a group from a viewed page.

Code

function og_context_menu() {
  $items['admin/config/group/context'] = array(
    'title' => 'OG context',
    'description' => 'OG context detection and selection',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'og_context_configure_form',
    ),
    'access arguments' => array(
      'administer group',
    ),
    'file' => 'og_context.admin.inc',
  );
  return $items;
}