diff --git a/core/modules/history/history.module b/core/modules/history/history.module index e40c44c..a3842fc 100644 --- a/core/modules/history/history.module +++ b/core/modules/history/history.module @@ -20,6 +20,18 @@ define('HISTORY_READ_LIMIT', REQUEST_TIME - 30 * 24 * 60 * 60); /** + * Implements hook_help(). + */ +function history_help($path, $arg) { + switch ($path) { + case 'admin/help#history': + $output = '

' . t('About') . '

'; + $output .= '

' . t('The History module keeps track of which content a user has read. Its data is available through the Views module. The History module marks content as new or updated depending on the last time the user viewed that content. It also provides a filter to Views to show new or updated content. History records older than one month will be removed during cron. This means that content older than one month will always be considered read. The module does not provide a user interface. For more information, see the online documentation for the History module.', array('!views-help' => \Drupal::url('help.page', array ('name' => 'views')), '!url' => 'https://drupal.org/documentation/modules/history')) . '

'; + return $output; + } +} + +/** * Retrieves the timestamp for the current user's last view of a specified node. * * @param int $nid