function adsense_search_menu in Google AdSense integration 7
Same name and namespace in other branches
- 5.3 old/search/adsense_search.module \adsense_search_menu()
- 6 old/search/adsense_search.module \adsense_search_menu()
Implements hook_menu().
File
- old/
search/ adsense_search.module, line 36 - Displays Google AdSense ads on Drupal pages.
Code
function adsense_search_menu() {
$items = array();
$items['admin/config/services/adsense/search'] = array(
'title' => 'Old Search',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'adsense_search_settings',
),
'access arguments' => array(
'administer adsense',
),
'weight' => 4,
'type' => MENU_LOCAL_TASK,
'file' => 'adsense_search.admin.inc',
);
return $items;
}