Skip to content
Snippets Groups Projects
Verified Commit 59623d9d authored by Théodore Biadala's avatar Théodore Biadala
Browse files

Issue #3506386 by vargenty, adwivedi008, joachim, quietone: Incomplete docs...

Issue #3506386 by vargenty, adwivedi008, joachim, quietone: Incomplete docs for CommentManagerInterface::getCountNewComments()
parent cbaf8e4d
No related branches found
No related tags found
1 merge request!2964Issue #2865710 : Dependencies from only one instance of a widget are used in display modes
Pipeline #440588 passed with warnings
Pipeline: drupal

#440592

    ...@@ -60,7 +60,7 @@ public function addBodyField($comment_type); ...@@ -60,7 +60,7 @@ public function addBodyField($comment_type);
    public function forbiddenMessage(EntityInterface $entity, $field_name); public function forbiddenMessage(EntityInterface $entity, $field_name);
    /** /**
    * Returns the number of new comments available on a given entity for a user. * Returns the number of new comments on a given entity for the current user.
    * *
    * @param \Drupal\Core\Entity\EntityInterface $entity * @param \Drupal\Core\Entity\EntityInterface $entity
    * The entity to which the comments are attached to. * The entity to which the comments are attached to.
    ...@@ -71,7 +71,8 @@ public function forbiddenMessage(EntityInterface $entity, $field_name); ...@@ -71,7 +71,8 @@ public function forbiddenMessage(EntityInterface $entity, $field_name);
    * entity. * entity.
    * *
    * @return int|false * @return int|false
    * The number of new comments or FALSE if the user is not authenticated. * The number of new comments or FALSE if the user is not authenticated or
    * if the History module is not installed.
    */ */
    public function getCountNewComments(EntityInterface $entity, $field_name = NULL, $timestamp = 0); public function getCountNewComments(EntityInterface $entity, $field_name = NULL, $timestamp = 0);
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Finish editing this message first!
    Please register or to comment