You are here

function oembedembedly_menu in oEmbed 7

Same name and namespace in other branches
  1. 8 modules/oembedembedly/oembedembedly.module \oembedembedly_menu()
  2. 6.0 oembedembedly.module \oembedembedly_menu()
  3. 7.0 oembedembedly/oembedembedly.module \oembedembedly_menu()

Implements hook_menu().

File

modules/oembedembedly/oembedembedly.module, line 11
Embed.ly support for oEmbed.module

Code

function oembedembedly_menu() {
  $items = array();
  $items['admin/config/media/oembed/provider/embedly'] = array(
    'title' => 'Embed.ly',
    'description' => 'Settings for the Embed.ly provider.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'oembedembedly_admin',
    ),
    'file' => 'oembedembedly.admin.inc',
    'type' => MENU_LOCAL_TASK,
    'access arguments' => array(
      'administer oembed',
    ),
  );
  return $items;
}