function Group::setChildren
Sets the group children.
Parameters
\Drupal\Core\Theme\DesignToken\DtcgInterface[] $children: The children to set.
Return value
$this The group object.
File
-
core/
lib/ Drupal/ Core/ Theme/ DesignToken/ Group.php, line 84
Class
- Group
- A group: distinguishable by not having a $value property.
Namespace
Drupal\Core\Theme\DesignTokenCode
public function setChildren(array $children) : static {
assert(Inspector::assertAllObjects($children, DtcgInterface::class));
$this->children = $children;
return $this;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.