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