COMMENT_NEW_LIMIT

The time cutoff for comments marked as read for entity types other node.

Comments changed before this time are always marked as read. Comments changed after this time may be marked new, updated, or read, depending on their state for the current user. Defaults to 30 days ago.

@todo Remove when https://www.drupal.org/node/1029708 lands.

File

core/modules/comment/comment.module, line 53
Enables users to comment on published content.

Code

define('COMMENT_NEW_LIMIT', REQUEST_TIME - 30 * 24 * 60 * 60)
doc_Drupal
2016-10-29 08:51:28
Comments
Leave a Comment

Please login to continue.