Same name and namespace in other branches
  1. 4.6.x modules/archive.module \archive_menu()

Implementation of hook_menu().

File

modules/archive.module, line 32
Displays a calendar to navigate old content.

Code

function archive_menu($may_cache) {
  $items = array();
  if ($may_cache) {
    $items[] = array(
      'path' => 'archive',
      'title' => t('archives'),
      'access' => user_access('access content'),
      'callback' => 'archive_page',
      'type' => MENU_SUGGESTED_ITEM,
    );
  }
  return $items;
}