bundles/BlockManagerBundle/DependencyInjection/CompilerPass/Block/BlockTypePass.php
private function validateBlockTypes(array $blockTypes, array $blockDefinitions): void
    {
        foreach ($blockTypes as $identifier => $blockType) {
            if (!isset($blockDefinitions[$blockType['definition_identifier']])) {
                throw new RuntimeException(
                    sprintf(
                        'Block definition "%s" used in "%s" block type does not exist.',
                        $blockType['definition_identifier'],
                        $identifier
                    )
                );
            }
        }
    }
private function validateBlockTypes(array $blockTypes, array $blockDefinitions): void
    {
        foreach ($blockTypes as $identifier => $blockType) {
            if (!isset($blockDefinitions[$blockType['definition_identifier']])) {
                throw new RuntimeException(
                    sprintf(
                        'Block definition "%s" used in "%s" block type does not exist.',
                        $blockType['definition_identifier'],
                        $identifier
                    )
                );
            }
        }
    }
private function validateBlockTypes ( array $ blockTypes , array $ blockDefinitions ) : void { foreach ( $ blockTypes as $ identifier => $ blockType ) { if ( ! isset ( $ blockDefinitions [ $ blockType [ 'definition_identifier' ] ] ) ) { throw new RuntimeException ( sprintf ( 'Block definition "%s" used in "%s" block type does not exist.' , $ blockType [ 'definition_identifier' ] , $ identifier ) ) ; } } }
Validates block type config.

@throws \Netgen\BlockManager\Exception\RuntimeException If validation failed
Validates block type config .