public function assignNodeAndChildNodes(NodeInterface $node, $nodeTypeFilter = '', $depth = 0, NodeInterface $untilNode = null)
{
$this->outputStyle = self::STYLE_TREE;
$data = array();
if ($this->privilegeManager->isGranted(NodeTreePrivilege::class, new NodePrivilegeSubject($node))) {
$childNodes = array();
$this->collectChildNodeData($childNodes, $node, $nodeTypeFilter === '' ? null : $nodeTypeFilter, $depth, $untilNode);
$data = $this->collectTreeNodeData($node, true, $childNodes, $childNodes !== array());
}
$this->setConfiguration(array('value' => array('data' => array('_descendAll' => array()))));
$this->assign('value', array('data' => $data, 'success' => true));
}