You are here

function oembedembedly_menu in oEmbed 6.0

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

Implementation of hook_menu().

File

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

Code

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