You are here

README.txt in Filter Twig 8

Same filename and directory in other branches
  1. 8.2 README.txt
Description

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

Usage

Install the module as any other module. Visit the text format administration
page at /admin/config/content/formats/filters 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 filed is rendered.

File

README.txt
View source
  1. Description
  2. This is a very simple module to make twig values available as an input filter.
  3. Usage
  4. Install the module as any other module. Visit the text format administration
  5. page at /admin/config/content/formats/filters and edit a text format.
  6. Check the 'Replaces Twig values' filter and save the text format.
  7. When editing a form where this text format is used in a field, you can type
  8. twig that will be replaced when the filed is rendered.