You are here

function youtube_menu in YouTube Field 7

Implements hook_menu().

File

./youtube.module, line 36

Code

function youtube_menu() {
  $items['admin/config/media/youtube'] = array(
    'title' => 'YouTube settings',
    'description' => 'Configure sitewide settings for embedded YouTube video fields.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'youtube_settings_form',
    ),
    'access arguments' => array(
      'administer youtube',
    ),
    'type' => MENU_NORMAL_ITEM,
  );
  return $items;
}