function custom_search_blocks_menu in Custom Search 7
Same name and namespace in other branches
- 6 modules/custom_search_blocks/custom_search_blocks.module \custom_search_blocks_menu()
Implements hook_menu().
File
- modules/
custom_search_blocks/ custom_search_blocks.module, line 13 - Bring additional search blocks
Code
function custom_search_blocks_menu() {
$items['admin/config/search/custom_search/blocks'] = array(
'title' => 'Search Blocks',
'description' => 'Provide additional search blocks by content type.',
'page arguments' => array(
'custom_search_blocks_admin',
),
'access arguments' => array(
'administer custom search blocks',
),
'file' => 'custom_search_blocks.admin.inc',
'type' => MENU_LOCAL_TASK,
'weight' => 3,
);
return $items;
}