diatem-net / twig_truncate
Return truncated string
Installs: 3
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 0
Open Issues: 0
Type:drupal-module
This package is not auto-updated.
Last update: 2025-02-20 06:31:28 UTC
README
The Truncate allows you to truncate a string.
REQUIREMENTS
Drupal 9.x.
INSTALLATION
Install this module as usual. Please see https://www.drupal.org/docs/extending-drupal/installing-modules
USAGE
paramètres: - n number of characters defaukt to 150 - endchar default to '…'
{{ the_string|truncate(100, '!') }}