You are here

function adsense_managed_menu in Google AdSense integration 6

Same name and namespace in other branches
  1. 5.3 managed/adsense_managed.module \adsense_managed_menu()
  2. 7 managed/adsense_managed.module \adsense_managed_menu()

Implementation of hook_menu().

File

managed/adsense_managed.module, line 17
Displays Google AdSense ads on Drupal pages.

Code

function adsense_managed_menu() {
  $items = array();
  $items['admin/settings/adsense/managed'] = array(
    'title' => 'Managed Ads',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'adsense_managed_settings',
    ),
    'access arguments' => array(
      'administer adsense',
    ),
    'weight' => 1,
    'type' => MENU_LOCAL_TASK,
    'file' => 'adsense_managed.admin.inc',
  );
  return $items;
}