function ad_remote_menu in Advertisement 7
Same name and namespace in other branches
- 5.2 remote/ad_remote.module \ad_remote_menu()
- 5 remote/ad_remote.module \ad_remote_menu()
- 6.3 remote/ad_remote.module \ad_remote_menu()
- 6 remote/ad_remote.module \ad_remote_menu()
- 6.2 remote/ad_remote.module \ad_remote_menu()
Implementation of hook_menu().
File
- remote/
ad_remote.module, line 22 - Enhances the ad module to providing cut-and-paste source snippets allowing ads to be easily displayed on remote websites.
Code
function ad_remote_menu() {
$items = array();
$items['admin/content/ad/ad_remote'] = array(
'title' => 'Remote ads',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'ad_remote_form',
),
'access arguments' => array(
'host remote advertisements',
),
'type' => MENU_LOCAL_TASK,
'weight' => 1,
);
return $items;
}