function dfp_menu in Doubleclick for Publishers (DFP) 7.2
Same name and namespace in other branches
- 7 dfp.module \dfp_menu()
Implements hook_menu().
File
- ./
dfp.module, line 74
Code
function dfp_menu() {
$items = array();
$items['admin/structure/dfp_ads/settings'] = array(
'title' => 'Global DFP Settings',
'type' => MENU_LOCAL_TASK,
'description' => "Configure your site-wide DFP settings.",
'page callback' => 'drupal_get_form',
'page arguments' => array(
'dfp_admin_settings',
),
'access arguments' => array(
'administer DFP',
),
'file' => 'dfp.admin.inc',
'weight' => 5,
);
$items['admin/structure/dfp_ads/test_page'] = array(
'title' => 'DFP Test Page',
'type' => MENU_LOCAL_TASK,
'description' => "View all your DFP tags on a single page",
'page callback' => 'dfp_adtest_page',
'access arguments' => array(
'administer DFP',
),
'file' => 'dfp.adtest.inc',
'weight' => 10,
);
return $items;
}