You are here

function media_library_menu in Media Library 7

Same name and namespace in other branches
  1. 6 media_library.module \media_library_menu()

Implements hook_menu().

File

./media_library.module, line 28
Restricts the media library to only designated files.

Code

function media_library_menu() {
  $items['admin/config/media/media-library'] = array(
    'title' => 'Media library',
    'description' => 'Show or hide library settings and configure default opt-in/opt-out behavior.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'media_library_settings_form',
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
    'file' => 'media_library.admin.inc',
  );
  return $items;
}