Closed dlubitz closed 10 months ago
See: https://github.com/neos/neos-development-collection/pull/4520
the NodeTypeManager can provide replacements:
- $nodeType->getAutoCreatedChildNodes(); + $nodeTypeManager->getTetheredNodesConfigurationForNodeType($nodeType); - $nodeType->hasAutoCreatedChildNode($nodeName); + $nodeType->hasTetheredNode($nodeName); - $parentsNodeType->getTypeOfAutoCreatedChildNode($nodeName); + $nodeTypeManager->getTypeOfTetheredNode($parentsNodeType, $nodeName); - $grandParentsNodeType->allowsGrandchildNodeType($parentNodeName, $nodeType); + $nodeTypeManager->isNodeTypeAllowedAsChildToTetheredNode($grandParentsNodeType, NodeName::fromString($parentNodeName), $nodeType);
See: https://github.com/neos/neos-development-collection/pull/4520
the NodeTypeManager can provide replacements: