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.
 
 
Thomas Frobieter c096aece9f Issue #3407926: Extend documentation for drupal_url() + add example for taxomy_term 7 months ago
docs Issue #3407926: Extend documentation for drupal_url() + add example for taxomy_term 7 months ago
src #3356042: Clean-up image builder 7 months ago
tests #3356042: Clean-up image builder 7 months ago
.gitlab-ci.yml Change min PHP version in CI config 8 months 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
logo.png Upload New logo.png File 7 months ago
phpcs.xml Add view builders and clean-up 5 years ago
twig_tweak.api.php Issue #3373333 by paulsheldrake, Chi: New filter to base64 encode and image 8 months ago
twig_tweak.info.yml Support Drupal 10 3 years ago
twig_tweak.services.yml Issue #3356042: drupal_image() needs width / height attributes for fully working image cache scale (Width and height calculation only) 7 months 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