Records which users have read which content.
@todo
- Generic helper for _forum_user_last_visit() + history_read().
- Generic helper for node_mark().
File
core/modules/history/history.module
Functions
Name | Description |
---|---|
history_attach_timestamp | #lazy_builder callback; attaches the last read timestamp for a node. |
history_cron | Implements hook_cron(). |
history_help | Implements hook_help(). |
history_node_delete | Implements hook_ENTITY_TYPE_delete() for node entities. |
history_node_view_alter | Implements hook_ENTITY_TYPE_view_alter() for node entities. |
history_read | Retrieves the timestamp for the current user's last view of a specified node. |
history_read_multiple | Retrieves the last viewed timestamp for each of the passed node IDs. |
history_user_cancel | Implements hook_user_cancel(). |
history_user_delete | Implements hook_ENTITY_TYPE_delete() for user entities. |
history_write | Updates 'last viewed' timestamp of the specified entity for the current user. |
Constants
Name | Description |
---|---|
HISTORY_READ_LIMIT | Entities changed before this time are always shown as read. |
Please login to continue.