You are here

public function ResultInterface::setChildren in Facets 8

Sets children results.

Parameters

\Drupal\facets\Result\ResultInterface[] $children: The children to be added.

1 method overrides ResultInterface::setChildren()
Result::setChildren in src/Result/Result.php
Sets children results.

File

src/Result/ResultInterface.php, line 106

Class

ResultInterface
The interface defining what a facet result should look like.

Namespace

Drupal\facets\Result

Code

public function setChildren(array $children);