You are here

function facetapi_apachesolr_menu in Facet API 6

Implementation of hook_menu().

File

contrib/facetapi_apachesolr/facetapi_apachesolr.module, line 12
The Apache Solr Search Integration module's implementation of the the Facet API.

Code

function facetapi_apachesolr_menu() {
  $items = array();
  $items['admin/settings/apachesolr/facets'] = array(
    'title' => 'Facets',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'facetapi_admin_settings_form',
      'apachesolr_search',
    ),
    'access arguments' => array(
      'administer search',
    ),
    'type' => MENU_LOCAL_TASK,
    'file' => 'facetapi.admin.inc',
    'file path' => drupal_get_path('module', 'facetapi'),
    'weight' => -9,
  );
  return $items;
}