ForumManagerInterface::unreadTopics

public ForumManagerInterface::unreadTopics($term, $uid)

Calculates the number of new posts in a forum that the user has not yet read.

Nodes are new if they are newer than HISTORY_READ_LIMIT.

Parameters

int $term: The term ID of the forum.

int $uid: The user ID.

Return value

The number of new posts in the forum that have not been read by the user.

File

core/modules/forum/src/ForumManagerInterface.php, line 92

Class

ForumManagerInterface
Provides forum manager interface.

Namespace

Drupal\forum

Code

public function unreadTopics($term, $uid);
doc_Drupal
2016-10-29 09:17:15
Comments
Leave a Comment

Please login to continue.