You are here

public function CommentStorageInterface::getUnapprovedCount in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/comment/src/CommentStorageInterface.php \Drupal\comment\CommentStorageInterface::getUnapprovedCount()
  2. 9 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();