diatem-net/twig_truncate

Return truncated string

Installs: 0

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 4

Forks: 0

Open Issues: 0

Type:drupal-module

1.0 2022-12-27 22:23 UTC

This package is not auto-updated.

Last update: 2024-05-02 02:35:47 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, '!') }}