You are here

function ad_embed_menu in Advertisement 6

Same name and namespace in other branches
  1. 5.2 embed/ad_embed.module \ad_embed_menu()
  2. 5 embed/ad_embed.module \ad_embed_menu()
  3. 6.3 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 56
Embed ads in content.

Code

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