Netgen Layouts: Building Pages with Symfony
Block Views & View Types
  Unlock this challenge
Login Register

Challenge 1 / 1

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?

Skip challenges and go to theNext Chapter

Turn Challenges Off?

All further challenges will be skipped automatically.
You can re-enable challenges at any time on this page or from your account page.