Neos\ContentRepository\Domain\Model\Node::willChildNodeBeAutoCreated PHP Method

willChildNodeBeAutoCreated() protected method

Checks if the given Node $name is configured as auto-created childNode in the NodeType configuration.
protected willChildNodeBeAutoCreated ( string $name ) : boolean
$name string The node name to check.
return boolean TRUE if the given nodeName is configured as auto-created child node.
    protected function willChildNodeBeAutoCreated($name)
    {
        $autoCreatedChildNodes = $this->getNodeType()->getAutoCreatedChildNodes();
        return isset($autoCreatedChildNodes[$name]);
    }
Node