You are here

public function CommentStorageInterface::getUnapprovedCount in Drupal 8

Same name and namespace in other branches
  1. 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 112

Class

CommentStorageInterface
Defines an interface for comment entity storage classes.

Namespace

Drupal\comment

Code

public function getUnapprovedCount();