You are here

function instapage_cms_plugin_menu in Instapage plugin 8.3

Same name and namespace in other branches
  1. 7.3 core/connectors/InstapageCmsPluginDrupal7Connector.php \instapage_cms_plugin_menu()

Drupal 7 hook. Adds a link to admin menu.

Return value

array Array with new menu items.

File

core/connectors/InstapageCmsPluginDrupal7Connector.php, line 22

Code

function instapage_cms_plugin_menu() {
  $items = array();
  $items['admin/structure/instapage_cms_plugin'] = array(
    'title' => 'Instapage Plugin',
    'description' => 'The best way for Drupal to seamlessly publish landing pages as a natural extension of your website.',
    'page callback' => 'load_instapage_cms_plugin_dashboard',
    'access arguments' => array(
      'administer instapage_cms_plugin settings',
    ),
    'type' => MENU_NORMAL_ITEM,
  );
  return $items;
}