bundles/BlockManagerBundle/DependencyInjection/CompilerPass/Item/ValueTypePass.php
private function validateBrowserType(ContainerBuilder $container, string $valueType): void
    {
        if ($container->has(sprintf('netgen_content_browser.config.%s', $valueType))) {
            return;
        }

        throw new RuntimeException(
            sprintf(
                'Netgen Content Browser backend for "%s" value type does not exist.',
                $valueType
            )
        );
    }
private function validateBrowserType(ContainerBuilder $container, string $valueType): void
    {
        if ($container->has(sprintf('netgen_content_browser.config.%s', $valueType))) {
            return;
        }

        throw new RuntimeException(
            sprintf(
                'Netgen Content Browser backend for "%s" value type does not exist.',
                $valueType
            )
        );
    }
private function validateBrowserType ( ContainerBuilder $ container , string $ valueType ) : void { if ( $ container -> has ( sprintf ( 'netgen_content_browser.config.%s' , $ valueType ) ) ) { return ; } throw new RuntimeException ( sprintf ( 'Netgen Content Browser backend for "%s" value type does not exist.' , $ valueType ) ) ; }
Validates that the provided Content Browser item type exists in the system.
Validates that the provided Content Browser item type exists in the system .