You are here

function fb_instant_articles_menu in Facebook Instant Articles 7

Same name and namespace in other branches
  1. 7.2 fb_instant_articles.module \fb_instant_articles_menu()

Implements hook_menu().

File

./fb_instant_articles.module, line 28
Hook implementations for Facebook Instant Articles Base module.

Code

function fb_instant_articles_menu() {
  $items['admin/config/services/fb-instant-articles'] = array(
    'title' => 'Facebook Instant Articles',
    'description' => 'Settings related to Facebook Instant Articles.',
    'page callback' => 'system_admin_menu_block_page',
    'access arguments' => array(
      'access administration pages',
    ),
    'file' => 'system.admin.inc',
    'file path' => drupal_get_path('module', 'system'),
  );
  $items['admin/config/services/fb-instant-articles/settings'] = array(
    'title' => 'Facebook Instant Articles Base settings',
    'description' => 'Base settings for Facebook Instant Articles.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'fb_instant_articles_settings',
    ),
    'access arguments' => array(
      'administer fb_instant_articles',
    ),
    'file' => 'includes/admin.inc',
    'weight' => -10,
  );
  return $items;
}