Flag of Ukraine
SymfonyCasts stands united with the people of Ukraine
Next Chapter

Challenge #1 of 1


Q: 

Suppose we run:

php bin/console debug:config netgen_layouts view.block_view.default

And see the following config for some "made-up" custom_list block type:

    custom_list_list:
        template: '...'
        match:
            block\definition: custom_list
            block\view_type: list
    custom_list_grid:
        template: '...'
        match:
            block\definition: custom_list
            block\view_type: grid
    custom_list_other:
        template: '...'
        match:
            block\definition: custom_list

Now suppose the user adds 2 custom_list blocks to their page:

A) One with a "View type" set to grid

B) A second with a "View type" set to tiled.

Which "view types" would be used to render each block?

userVoice