function google_admanager_menu in DFP Small Business (Google Ad Manager) 5
Same name and namespace in other branches
- 6.3 google_admanager.module \google_admanager_menu()
- 6 google_admanager.module \google_admanager_menu()
- 6.2 google_admanager.module \google_admanager_menu()
- 7.2 google_admanager.module \google_admanager_menu()
Implementing hook_menu
File
- ./
google_admanager.module, line 47
Code
function google_admanager_menu($may_cache) {
$items = array();
if (!$maycache) {
$items[] = array(
'path' => 'admin/settings/google_admanager',
'title' => t('Google Admanager'),
'description' => t('Configure the settings used to generate the Google Admanager Slot Ad code.'),
'callback' => 'drupal_get_form',
'callback arguments' => 'google_admanager_admin_settings_form',
'access' => user_access('administer google admanager'),
'type' => MENU_NORMAL_ITEM,
);
}
return $items;
}