public getPrimaryChildNode ( ) : |
||
return | The primary child node or NULL if no such node exists |
public function getPrimaryChildNode()
{
return $this->nodeDataRepository->findFirstByParentAndNodeTypeInContext($this->getPath(), null, $this->context);
}