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_catalogCode
public function setChildren(array $children) {
$this->children = $children;
return $this;
}