You are here

function cdn_menu in CDN 5

Same name and namespace in other branches
  1. 6.2 cdn.module \cdn_menu()
  2. 6 cdn.module \cdn_menu()
  3. 7.2 cdn.module \cdn_menu()

Implementation of hook_menu().

File

./cdn.module, line 20

Code

function cdn_menu($may_cache) {
  $items = array();
  if ($may_cache) {
    $items[] = array(
      'path' => 'admin/settings/cdn',
      'title' => t('CDN integration'),
      'callback' => 'drupal_get_form',
      'callback arguments' => array(
        'cdn_admin_settings_form',
      ),
      'access' => user_access('administer site configuration'),
      'type' => MENU_NORMAL_ITEM,
    );
  }
  return $items;
}