function archive_help in Archive 5
Same name and namespace in other branches
- 6 archive.module \archive_help()
- 7.2 archive.module \archive_help()
- 7 archive.module \archive_help()
Implementation of hook_help().
File
- ./
archive.module, line 6
Code
function archive_help($section) {
switch ($section) {
case 'admin/help#archive':
$output = '<p>' . t('The archive module provides a suggested menu item, which shows a page allowing content to be filtered by date and node type. The date selectors allow visitors to view content published in any given year, month or day. The node type selectors allow visitors to view content of all node types or only specific ones.') . '</p>';
$output .= t('<p>You can</p>
<ul>
<li>view your <a href="!archive">archive page</a>.</li>
<li><a href="!admin-menu">enable or disable the archive menu item</a>.</li>
</ul>
', array(
'!archive' => url('archive'),
'!admin-menu' => url('admin/menu'),
));
$output .= '<p>' . t('For more information please read the configuration and customization handbook <a href="http://drupal.org/handbook/modules/archive/">Archive page</a>.') . '</p>';
return $output;
}
}