This project is not covered by Drupal’s security advisory policy.

This is a very simple module to make twig values available as an input filter.

Composer Install

If your site is managed via Composer, use Composer to download the module.

composer require 'drupal/filter_twig:^3.0'

Or

Install the module as any other module.

Usage

Visit the text format administration page at:

/admin/config/content/formats

And edit a text format.
Check the 'Replaces Twig values' filter and save the text format.

When editing a form where this text format is used in a field, you can type
twig that will be replaced when the field is rendered.

Project information

Releases