Module Description
Provides the Twig template engine as an input filter. Twig templates are stored as CTools Exportables, so you can edit them from the UI, and export them as Features Components.

Dependencies
* CTools
* Libraries API
* Twig (place it in sites/all/libraries/twig or sites/<domain>/libraries/twig

Usage
* Go to admin/structure/twig/add and create a template or two
* Go to admin/config/content/formats and activate Twig on an input filter
* Create a node using the Twig input filter. Use the Twig syntax {% include 'template_name' %} to include a template.

Future Development I'm interested in extending this module to integrate Drupal and Twig in other ways. Feel free to post feature request issues with your thoughts and/or code. In particular, I'd like to add support for Tokens as Twig variables, and set up the Twig sandbox to restrict privileges for users having access to Twig-enabled input formats.

Related
* ReneB's Twig theme engine (sandbox project)

Project Usage
845
Creation Date
Changed Date
Security Covered
Covered By Security Advisory
Version Available
Production
Module Summary
This module aims to provide the Twig template engine as an input filter, allowing users to easily edit and export Twig templates stored as CTools Exportables.
Data Name
twig

OPENAI CHATBOT

OPENAI CHATBOT

14:36:50
Generic Chatbot
Hi, I'm a Drupal module expert powered by OpenAI, answering your questions about the Drupal module ecosystem. How can I be helpful today? Please note that we will log your question.