Neos\ContentRepository\Domain\Model\NodeType::getAutoCreatedChildNodes PHP Method

getAutoCreatedChildNodes() public method

Return an array with child nodes which should be automatically created
public getAutoCreatedChildNodes ( ) : array
return array the key of this array is the name of the child, and the value its NodeType.
    public function getAutoCreatedChildNodes()
    {
        $this->initialize();
        if (!isset($this->fullConfiguration['childNodes'])) {
            return array();
        }
        $autoCreatedChildNodes = array();
        foreach ($this->fullConfiguration['childNodes'] as $childNodeName => $childNodeConfiguration) {
            if (isset($childNodeConfiguration['type'])) {
                $autoCreatedChildNodes[Utility::renderValidNodeName($childNodeName)] = $this->nodeTypeManager->getNodeType($childNodeConfiguration['type']);
            }
        }
        return $autoCreatedChildNodes;
    }