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.
 
 
Chi 34ce474c21 Update hook documentation 11 months ago
docs Issue #2980324 by JeffM2001, Chi: Document how to use block contexts 12 months ago
src Issue #3405514 by lobodacyril, kevinquillen: drupal_entity works incorrect when the source content is unpublished 12 months ago
tests Issue #3223186: Add a test for external URL 12 months ago
.gitlab-ci.yml Change min PHP version in CI config 11 months ago
README.md Issue #3363045: Feature(s) missing documentation 2 years ago
composer.json Issue #3356155: Update twig/twig 2 years 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 Update hook documentation 11 months ago
twig_tweak.info.yml Support Drupal 10 3 years ago
twig_tweak.services.yml Issue #3405514 by lobodacyril, kevinquillen: drupal_entity works incorrect when the source content is unpublished 12 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