diff --git a/core/modules/history/history.module b/core/modules/history/history.module index 38dd8ab..58d442c 100644 --- a/core/modules/history/history.module +++ b/core/modules/history/history.module @@ -106,3 +106,25 @@ function history_user_delete($account) { ->condition('uid', $account->id()) ->execute(); } + +/** + * Implements hook_help(). + */ +function history_help($path, $arg) { + switch ($path) { + case 'admin/help#history': + $output = '

' . t('About') . '

'; + $output .= '

' . t('Records which user has read which content. For more information, see the online handbook entry for the History module.', array('@history-module' => 'https://drupal.org/documentation/modules/history')) . '

'; + $output .= '

' . t('User Interface') . '

'; + $output .= '

' . t('No user interface is provided, this module makes its data available through using Views.') . '

'; + $output .= '

' . t('Uses in Views') . '

'; + $output .= '
'; + $output .= '
' . t('Node Marks') . '
'; + $output .= '
' . t('When using a view to display lists of content, adding history data will mark content as new or updated since the last time the user viewed that content.') . '
'; + $output .= '
' . t('You can also add a filter to only show content that is new or updated for a user.') . '
'; + $output .= '
'; + $output .= '

' . t('Cron') . '

'; + $output .= '

' . t('History records older than 1 month will be removed during cron. This means content older than 1 month will always be considered read.') . '

'; + return $output; + } +}