Part of the Twig ecosystem · 43 projects
This module provides a Twig function to render Drupal views directly within your Twig templates. You can specify the view and display machine names, along with any arguments, to dynamically embed view output.
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.
Ask your assistant about Twig Views
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
More in the Twig ecosystem
Most installed first