Neos\ContentRepository\Domain\Factory\NodeFactory::getNodeInterfaceImplementations PHP Method

getNodeInterfaceImplementations() public static method

Get all NodeInterface implementations to check if a configured node class is in there.
public static getNodeInterfaceImplementations ( Neos\Flow\ObjectManagement\ObjectManagerInterface $objectManager ) : array
$objectManager Neos\Flow\ObjectManagement\ObjectManagerInterface
return array
    public static function getNodeInterfaceImplementations($objectManager)
    {
        $reflectionService = $objectManager->get(ReflectionService::class);
        $nodeImplementations = $reflectionService->getAllImplementationClassNamesForInterface(NodeInterface::class);
        return $nodeImplementations;
    }