Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Custom Twig Formatter

Security covered Maintenance fixes only 28 sites

This module allows you to customize how fields are displayed on your Drupal site by using Twig code within the user interface. You can access and combine information from various fields on an entity to create dynamic and tailored output formats.

Description

This module provides a new field formatter making it possible to configure the field output using twig code through the user interface. All fields of the entity is exposed as twig variables, making it possible to configure the output of a field based on combination of information from different fields of the entity.

Fields supported

Here is an overview of supported fields types. New fields types can easily be given support, feel free to create an issue to add support for new fields:

  • boolean
  • comment
  • daterange
  • datetime
  • entity_reference
  • email
  • file
  • image
  • language
  • link
  • lists
  • string / text
  • telephone

Similar modules

Custom Formatters

Ask your assistant about Custom Twig Formatter

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

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.

Activity

Tracked releases
4
Tracked since
Feb 2023
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Dormant

Release Timeline

Releases

Version Type Core PHP Release date
2.1.0-alpha1 Pre-release 9–11 May 1, 2024
2.0.x-dev Dev 9–11 Mar 4, 2023
2.0.0-alpha1 Pre-release 9–10 Mar 4, 2023
1.0.0-alpha4 Pre-release 8–10 Feb 7, 2023