You are here

function apachesolr_search_menu in Apache Solr Search 6

Same name and namespace in other branches
  1. 8 apachesolr_search.module \apachesolr_search_menu()
  2. 5.2 apachesolr_search.module \apachesolr_search_menu()
  3. 6.3 apachesolr_search.module \apachesolr_search_menu()
  4. 6.2 apachesolr_search.module \apachesolr_search_menu()
  5. 7 apachesolr_search.module \apachesolr_search_menu()

Implementation of hook_menu().

File

./apachesolr_search.module, line 36
Provides a content search implementation for node content for use with the Apache Solr search application.

Code

function apachesolr_search_menu() {
  $items['admin/settings/apachesolr/query-fields'] = array(
    'title' => 'Search fields',
    'page callback' => 'apachesolr_search_settings_page',
    'access arguments' => array(
      'administer search',
    ),
    'weight' => 1,
    'type' => MENU_LOCAL_TASK,
    'file' => 'apachesolr_search.admin.inc',
  );
  $items['admin/settings/apachesolr/content-bias'] = array(
    'title' => 'Content bias settings',
    'page callback' => 'apachesolr_boost_settings_page',
    'access arguments' => array(
      'administer search',
    ),
    'weight' => 1,
    'type' => MENU_LOCAL_TASK,
    'file' => 'apachesolr_search.admin.inc',
  );
  return $items;
}