function CommentStorageInterface::getUnapprovedCount
Same name in other branches
- 9 core/modules/comment/src/CommentStorageInterface.php \Drupal\comment\CommentStorageInterface::getUnapprovedCount()
- 8.9.x core/modules/comment/src/CommentStorageInterface.php \Drupal\comment\CommentStorageInterface::getUnapprovedCount()
- 11.x 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();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.