function adsense_managed_menu in Google AdSense integration 7
Same name and namespace in other branches
- 5.3 managed/adsense_managed.module \adsense_managed_menu()
- 6 managed/adsense_managed.module \adsense_managed_menu()
Implements hook_menu().
File
- managed/
adsense_managed.module, line 51 - Displays Google AdSense ads on Drupal pages.
Code
function adsense_managed_menu() {
$items = array();
$items['admin/config/services/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;
}