function archive_menu in Drupal 4
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;
}