Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Usage Milestone: Google Analytics Module google_analytics crossed 1,000 active installs. Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Release: GraphQL Compose Codegen 1.1.2 Minor update available for module graphql_compose_codegen (1.1.2). Release: Mapy.com 1.1.3 Minor update available for module mapycom (1.1.3). Release: Ckeditor5 entity browser 3.0.3 Minor update available for module ckeditor5_entity_browser (3.0.3). Release: Ckeditor5 entity browser 3.0.1 Minor update available for module ckeditor5_entity_browser (3.0.1). Release: Ckeditor5 entity browser 3.0.2 Minor update available for module ckeditor5_entity_browser (3.0.2). Release: Teamleader Integration 4.0.2 Minor update available for module teamleader (4.0.2). Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Template Generator

25 sites Security covered Drupal 9–11
View on drupal.org

This module automatically generates Twig templates for your content entities, allowing you to select which entities to generate and how they are sorted. It can also ignore specific view modes or bundles, and automatically add available variables to the template header. Templates can be generated after display setting changes and are exported to your theme's templates directory by default.

This module allows you to automatically generate your templates for your content entities.

- Ability to select the entities to generate
- Possibility to automatically sort the templates by view mode or by bundle
- Ability to ignore certain view modes or bundles
- Automatic addition of the variables available in the header comment.
- The possibility of automatically generating the templates after each change of display settings

By default the files will be exported: your-current-theme/templates
It is possible to change themes in the configurations.

Sponsors

The Template Generator module was sponsored by GAYA.

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
Sep 2024
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 2
Maintenance
Dormant

Releases

Version Type Core Release date
2.0.3 Stable 9–11 Feb 10, 2025
2.0.2 Stable 9–11 Sep 25, 2024