function CommentStorageInterface::getChildCids
Same name in other branches
- 9 core/modules/comment/src/CommentStorageInterface.php \Drupal\comment\CommentStorageInterface::getChildCids()
- 8.9.x core/modules/comment/src/CommentStorageInterface.php \Drupal\comment\CommentStorageInterface::getChildCids()
- 11.x 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 84
Class
- CommentStorageInterface
- Defines an interface for comment entity storage classes.
Namespace
Drupal\commentCode
public function getChildCids(array $comments);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.