block\view_type
¶
Matches on view type of the rendered block. Used in block_view
view.
Tip
This matcher is usually used with block\definition
matcher to specify
for which exactly block and view type will the template be used.
Example¶
netgen_layouts:
view:
block_view:
default:
title\title:
template: '@App/block/title.html.twig'
match:
block\definition: title
block\view_type: title