You are here

function adsense_oldcode_menu in Google AdSense integration 6

Same name and namespace in other branches
  1. 5.3 old/oldcode/adsense_oldcode.module \adsense_oldcode_menu()
  2. 7 old/oldcode/adsense_oldcode.module \adsense_oldcode_menu()

Implementation of hook_menu().

File

old/oldcode/adsense_oldcode.module, line 29
Displays Google AdSense ads on Drupal pages.

Code

function adsense_oldcode_menu() {
  $items = array();
  $items['admin/settings/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;
}