Template Generator
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.