You are here

function custom_search_taxonomy_menu in Custom Search 7

Same name and namespace in other branches
  1. 6 modules/custom_search_taxonomy/custom_search_taxonomy.module \custom_search_taxonomy_menu()

Implements hook_menu().

File

modules/custom_search_taxonomy/custom_search_taxonomy.module, line 20
Bring customizations to the default search box

Code

function custom_search_taxonomy_menu() {
  $items['admin/config/search/custom_search/taxonomy'] = array(
    'title' => 'Taxonomy',
    'description' => 'Select the vocabularies to present as search options in the search block.',
    'page arguments' => array(
      'custom_search_taxonomy_admin',
    ),
    'access arguments' => array(
      'administer custom search',
    ),
    'file' => 'custom_search_taxonomy.admin.inc',
    'type' => MENU_LOCAL_TASK,
    'weight' => 2,
  );
  return $items;
}