diatem-net/twig_truncate
最新稳定版本:1.0
Composer 安装命令:
composer require diatem-net/twig_truncate
包简介
Return truncated string
README 文档
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, '!') }}
统计信息
- 总下载量: 4
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0
- 更新时间: 2022-12-27