function top_searches_menu in Top Searches 7
Same name and namespace in other branches
- 5 top_searches.module \top_searches_menu()
- 6 top_searches.module \top_searches_menu()
Implementation of hook_menu().
File
- ./
top_searches.module, line 19
Code
function top_searches_menu() {
$items = array();
$items['admin/config/search/top_searches'] = array(
'access arguments' => array(
'administer blocks',
),
'title' => 'Top Searches',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'top_searches_admin_form',
),
'description' => 'General settings for the Top Searches module.',
'file' => 'top_searches.admin.inc',
);
$items['admin/config/search/top_searches/clear'] = array(
'access arguments' => array(
'administer blocks',
),
'title' => 'Top Searches',
'type' => MENU_CALLBACK,
'page callback' => 'drupal_get_form',
'page arguments' => array(
'top_searches_form_clear_confirm',
),
'description' => 'General settings for the Top Searches module.',
'file' => 'top_searches.admin.inc',
);
return $items;
}