lib/Block/BlockType/BlockTypeGroupFactory.php
public static function buildBlockTypeGroup(string $identifier, array $config, array $blockTypes): BlockTypeGroup
    {
        return BlockTypeGroup::fromArray(
            [
                'identifier' => $identifier,
                'isEnabled' => $config['enabled'],
                'name' => $config['name'],
                'blockTypes' => $blockTypes,
            ]
        );
    }
public static function buildBlockTypeGroup(string $identifier, array $config, array $blockTypes): BlockTypeGroup
    {
        return BlockTypeGroup::fromArray(
            [
                'identifier' => $identifier,
                'isEnabled' => $config['enabled'],
                'name' => $config['name'],
                'blockTypes' => $blockTypes,
            ]
        );
    }
public static function buildBlockTypeGroup ( string $ identifier , array $ config , array $ blockTypes ) : BlockTypeGroup { return BlockTypeGroup :: fromArray ( [ 'identifier' => $ identifier , 'isEnabled' => $ config [ 'enabled' ] , 'name' => $ config [ 'name' ] , 'blockTypes' => $ blockTypes , ] ) ; }
Builds the block type group.

@param string $identifier
@param array<string, mixed> $config
@param \Netgen\BlockManager\Block\BlockType\BlockType[] $blockTypes

@return \Netgen\BlockManager\Block\BlockType\BlockTypeGroup
Builds the block type group .