You are here

function og_context_menu in Organic groups 7

Same name and namespace in other branches
  1. 7.2 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' => 'Organic groups context',
    'description' => 'Organic groups 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;
}