public function CommentStorageInterface::getChildCids in Drupal 9
Same name and namespace in other branches
- 8 core/modules/comment/src/CommentStorageInterface.php \Drupal\comment\CommentStorageInterface::getChildCids()
- 10 core/modules/comment/src/CommentStorageInterface.php \Drupal\comment\CommentStorageInterface::getChildCids()
Gets the comment ids of the passed comment entities' children.
Parameters
\Drupal\comment\CommentInterface[] $comments: An array of comment entities keyed by their ids.
Return value
array The entity ids of the passed comment entities' children as an array.
1 method overrides CommentStorageInterface::getChildCids()
- CommentStorage::getChildCids in core/
modules/ comment/ src/ CommentStorage.php - Gets the comment ids of the passed comment entities' children.
File
- core/
modules/ comment/ src/ CommentStorageInterface.php, line 82
Class
- CommentStorageInterface
- Defines an interface for comment entity storage classes.
Namespace
Drupal\commentCode
public function getChildCids(array $comments);