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.
Alison Jo
832a021ccb
|
2 years ago | |
---|---|---|
docs | 2 years ago | |
src | 2 years ago | |
tests | 2 years ago | |
README.md | 2 years ago | |
composer.json | 2 years ago | |
drush.services.yml | 4 years ago | |
phpcs.xml | 5 years ago | |
twig_tweak.api.php | 2 years ago | |
twig_tweak.info.yml | 3 years ago | |
twig_tweak.services.yml | 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
- Install as you would normally install a contributed Drupal module. For further information, see Installing Drupal Modules.
Links
- Project page: https://www.drupal.org/project/twig_tweak
- Twig home page: https://twig.symfony.com/
- Drupal Twig documentation: https://www.drupal.org/docs/theming-drupal/twig-in-drupal