You are here

function apachesolr_nan_menu in Apache Solr Not-A-Node 7.2

Same name and namespace in other branches
  1. 7 apachesolr_nan.module \apachesolr_nan_menu()

Implements hook_menu().

File

./apachesolr_nan.module, line 31
Provides hook and common functions for non-node searching.

Code

function apachesolr_nan_menu() {
  $items['admin/config/search/apachesolr-nan'] = array(
    'title' => t('Apache Solr Not-a-Node'),
    'description' => t('Configure non-node index settings'),
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'apachesolr_nan_nan_settings_form',
    ),
    'access arguments' => array(
      'administer search',
    ),
    'file' => 'apachesolr_nan.admin.inc',
  );
  return $items;
}