You are here

function current_search_menu in Facet API 6.3

Same name and namespace in other branches
  1. 7.2 contrib/current_search/current_search.module \current_search_menu()
  2. 7 contrib/current_search/current_search.module \current_search_menu()

Implements hook_menu_alter().

File

contrib/current_search/current_search.module, line 36
Provides an interface for creating blocks containing information about the current search.

Code

function current_search_menu() {
  $items = array();
  $items['admin/settings/current_search/item/%current_search_item/delete/%'] = array(
    'title' => 'Revert current search block configuration',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'current_search_delete_item_form',
      5,
      7,
    ),
    'access arguments' => array(
      'administer search',
    ),
    'type' => MENU_NORMAL_ITEM,
    'file' => 'plugins/export_ui/current_search_export_ui.class.php',
  );
  return $items;
}