Filter Twig
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.
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.