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