drupal_menu

Versions
4.6 – 5
drupal_menu($may_cache)

Implementation of hook_menu().

Code

modules/drupal.module, line 327

<?php
function drupal_menu($may_cache) {
  $items = array();
  if ($may_cache) {
    if (variable_get('drupal_authentication_service', 0)) {
      $items[] = array('path' => 'drupal', 'title' => t('Drupal'),
        'callback' => 'drupal_page_help', 'access' => TRUE,
        'type' => MENU_SUGGESTED_ITEM
      );
    }
  }
  return $items;
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.