Neos.ContentRepository/Classes/Domain/Model/NodeType.php
public function allowsChildNodeType(NodeType $nodeType)
    {
        $constraints = $this->getConfiguration('constraints.nodeTypes') ?: [];
        return $this->isNodeTypeAllowedByConstraints($nodeType, $constraints);
    }
public function allowsChildNodeType(NodeType $nodeType)
    {
        $constraints = $this->getConfiguration('constraints.nodeTypes') ?: [];
        return $this->isNodeTypeAllowedByConstraints($nodeType, $constraints);
    }
public function allowsChildNodeType ( NodeType $ nodeType ) { $ constraints = $ this -> getConfiguration ( 'constraints.nodeTypes' ) ? : [ ] ; return $ this -> isNodeTypeAllowedByConstraints ( $ nodeType , $ constraints ) ; }
Checks if the given NodeType is acceptable as sub-node with the configured constraints,
not taking constraints of auto-created nodes into account. Thus, this method only returns
the correct result if called on NON-AUTO-CREATED nodes!

Otherwise, allowsGrandchildNodeType() needs to be called on the *parent node type*.

@param NodeType $nodeType
@return boolean true if the $nodeType is allowed as child node, false otherwise.
Checks if the given NodeType is acceptable as sub - node with the configured constraints not taking constraints of auto - created nodes into account . Thus this method only returns the correct result if called on NON - AUTO - CREATED nodes!