You are here

public function Result::setChildren in Facets 8

Sets children results.

Parameters

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

Overrides ResultInterface::setChildren

File

src/Result/Result.php, line 147

Class

Result
The default implementation of the result interfaces.

Namespace

Drupal\facets\Result

Code

public function setChildren(array $children) {
  $this->children = $children;
}