You are here

public function CommentStorageInterface::getChildCids in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/comment/src/CommentStorageInterface.php \Drupal\comment\CommentStorageInterface::getChildCids()
  2. 9 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);