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
|
11 months ago | |
---|---|---|
docs | 12 months ago | |
src | 12 months ago | |
tests | 12 months ago | |
.gitlab-ci.yml | 11 months 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 | 11 months ago | |
twig_tweak.info.yml | 3 years ago | |
twig_tweak.services.yml | 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
- 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