You are here

function ad_embed_menu in Advertisement 5

Same name and namespace in other branches
  1. 5.2 embed/ad_embed.module \ad_embed_menu()
  2. 6.3 embed/ad_embed.module \ad_embed_menu()
  3. 6 embed/ad_embed.module \ad_embed_menu()
  4. 6.2 embed/ad_embed.module \ad_embed_menu()
  5. 7 embed/ad_embed.module \ad_embed_menu()

Implementation of hook_menu().

File

embed/ad_embed.module, line 55
Embed ads in content.

Code

function ad_embed_menu() {
  $items = array();
  $items[] = array(
    'path' => 'admin/content/ad/configure/embed',
    'title' => 'Embedded ads',
    'callback' => 'drupal_get_form',
    'callback arguments' => array(
      'ad_embed_admin_configure_settings',
    ),
    'type' => MENU_LOCAL_TASK,
    'weight' => 5,
  );
  return $items;
}