function CommentStorageInterface::getChildCids

Same name in other branches
  1. 9 core/modules/comment/src/CommentStorageInterface.php \Drupal\comment\CommentStorageInterface::getChildCids()
  2. 8.9.x core/modules/comment/src/CommentStorageInterface.php \Drupal\comment\CommentStorageInterface::getChildCids()
  3. 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 84

Class

CommentStorageInterface
Defines an interface for comment entity storage classes.

Namespace

Drupal\comment

Code

public function getChildCids(array $comments);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.