function searchindex_wipe_menu in Search Index Wipe 7
Implements hook_menu().
File
- ./
searchindex_wipe.module, line 11 - Enables wipe of search index.
Code
function searchindex_wipe_menu() {
// Confirmation form to wipe search index.
$items['admin/searchindex_wipe'] = array(
'title' => 'Clear Index',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'searchindex_wipe_confirm',
),
'access arguments' => array(
'wipe search index',
),
'type' => MENU_CALLBACK,
);
return $items;
}