incomplete/inaccurate docs for getCountNewComments::getCountNewComments()

Created on 13 February 2025, about 2 months ago

Problem/Motivation

The docs for getCountNewComments::getCountNewComments() have a few problems:

> * Returns the number of new comments available on a given entity for a user.

It's not 'a user', it's the current user.

> * The number of new comments or FALSE if the user is not authenticated.

FALSE is also returned if the history module is not enabled.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

🐛 Bug report
Status

Active

Version

11.0 🔥

Component

comment.module

Created by

🇬🇧United Kingdom joachim

Live updates comments and jobs are added and updated live.
  • Novice

    It would make a good project for someone who is new to the Drupal contribution process. It's preferred over Newbie.

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024