form\type

Matches on type of the Symfony form which is rendered. Used in form_view view.

Tip

This matcher is usually used with other form\* matchers if you wish, for example, to separate templates for rendering block create and block edit forms.

Example

netgen_block_manager:
    view:
        form_view:
            default:
                layout\edit:
                    template: '@App/layout/edit.html.twig'
                    match:
                        form\type: Netgen\BlockManager\Layout\Form\EditType