You are here

function apachesolr_og_menu in Apache Solr Search 5.2

Same name and namespace in other branches
  1. 6 contrib/apachesolr_og/apachesolr_og.module \apachesolr_og_menu()

Implementation of hook_menu().

File

contrib/apachesolr_og/apachesolr_og.module, line 11
Integrates Organic Group info with Apache Solr search application.

Code

function apachesolr_og_menu($may_cache) {
  $items = array();
  if ($may_cache) {
    $items[] = array(
      'path' => 'admin/og/apachesolr_og',
      'title' => t('Apache Solr OG configuration'),
      'description' => t('Apache Solr OG facet settings for group posts.'),
      'callback' => 'drupal_get_form',
      'callback arguments' => array(
        'apachesolr_og_admin',
      ),
      'access' => user_access('administer search'),
    );
  }
  return $items;
}