You are here

function amp_analytics_menu in Accelerated Mobile Pages (AMP) 7

Implements hook_menu().

File

modules/amp_analytics/amp_analytics.module, line 10
AMP Analytics submodule.

Code

function amp_analytics_menu() {
  $items = array();
  $items['admin/config/content/amp/analytics'] = array(
    'title' => 'AMP Analytics',
    'description' => 'Configure AMP Analytics',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'amp_analytics_admin_form',
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
    'type' => MENU_LOCAL_TASK,
    'file' => 'amp_analytics.admin.inc',
    'weight' => '3',
  );
  return $items;
}