Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Twig Views

Security covered Under active development 415 sites

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.
Drupal 10–11

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.

Activity

Tracked releases
2
Tracked since
Aug 2023
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Active

Releases

Version Type Core PHP Release date
2.0.1 Stable 10–11 Sep 18, 2024
2.0.0 Stable 10 Aug 19, 2023