You are here

public function TreeNode::setChildren in Ubercart 8.4

Sets the children of the term.

Parameters

array $children: The node's children.

Return value

$this

File

uc_catalog/src/TreeNode.php, line 111

Class

TreeNode
Data structure to mimic Drupal's menu system.

Namespace

Drupal\uc_catalog

Code

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