Twig Views adds a Twig extension to render views in Twig with title by passing in the view machine name and display name.
To render a view, call the function in your Twig template:
{{ render_view('view_machine_name', 'display_machine_name', $arg1, $arg2, ...) }}
Related modules
- Twig Tweak: Provide similar extension drupal_view to render view without title.
Project information
- Project categories: Content display
488 sites report using this module
- Created by berramou on , updated
Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
Releases
2.0.1
released 18 September 2024
Works with Drupal: ^10 || ^11
Add Drupal 11 compatibility!
Install:
8.x-1.4
released 2 August 2022
Works with Drupal: ^8 || ^9 || ^10
Install:
Development version: 8.x-1.x-dev updated 2 Aug 2022 at 10:15 UTC
