For more information about this repository, visit the project page at https://www.drupal.org/project/twig_tweak
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Julian Pustkuchen 2e11f9b7ad Issue #3359146: Wrong preg_replace in ImageViewBuilderTest removes relevant attributes 1 year ago
docs Issue #3356079: Is the drupal_image() responsive parameter example correct? 1 year ago
src Fix documentation of Field View Builder 2 years ago
tests Issue #3359146: Wrong preg_replace in ImageViewBuilderTest removes relevant attributes 1 year ago
README.md Issue #3363045: Feature(s) missing documentation 1 year ago
composer.json Issue #3356155: Update twig/twig 1 year ago
drush.services.yml Add twig-debug command 4 years ago
phpcs.xml Add view builders and clean-up 5 years ago
twig_tweak.api.php Issue #3324280 by Daniel Korte: Use TwigFilter instead of TwigFunction in hook_twig_tweak_filters_alter() 2 years ago
twig_tweak.info.yml Support Drupal 10 3 years ago
twig_tweak.services.yml Support Drupal 10 3 years ago

README.md

Twig Tweak

The Twig Tweak module provides a Twig extension with some useful functions and filters that can improve development experience.

Some functions and filters are built in the Twig Tweak module, while others are simple wrappers to integrate Drupal functions and services into Twig (for example: format_size, drupal_view_result).

Requirements

This module requires no modules outside of Drupal core.

Installation