You are here

function adsense_oldcode_menu in Google AdSense integration 5.3

Same name and namespace in other branches
  1. 6 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 31
Displays Google AdSense ads on Drupal pages

Code

function adsense_oldcode_menu($may_cache) {
  $items = array();
  if ($may_cache) {
    $items[] = array(
      'path' => 'admin/settings/adsense/oldcode',
      'title' => t('Old Code Ads'),
      'callback' => 'drupal_get_form',
      'callback arguments' => array(
        'adsense_oldcode_settings',
      ),
      'access' => user_access('administer adsense'),
      'weight' => 3,
      'type' => MENU_LOCAL_TASK,
    );
  }
  return $items;
}