function CommentStorageInterface::getUnapprovedCount

Same name in other branches
  1. 9 core/modules/comment/src/CommentStorageInterface.php \Drupal\comment\CommentStorageInterface::getUnapprovedCount()
  2. 8.9.x core/modules/comment/src/CommentStorageInterface.php \Drupal\comment\CommentStorageInterface::getUnapprovedCount()
  3. 10 core/modules/comment/src/CommentStorageInterface.php \Drupal\comment\CommentStorageInterface::getUnapprovedCount()

Returns the number of unapproved comments.

Return value

int The number of unapproved comments.

1 method overrides CommentStorageInterface::getUnapprovedCount()
CommentStorage::getUnapprovedCount in core/modules/comment/src/CommentStorage.php
Returns the number of unapproved comments.

File

core/modules/comment/src/CommentStorageInterface.php, line 114

Class

CommentStorageInterface
Defines an interface for comment entity storage classes.

Namespace

Drupal\comment

Code

public function getUnapprovedCount();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.