Install

Works with Drupal: 8.x

Using Composer to manage Drupal site dependencies

Alternative installation files

Download smart_trim-8.x-1.1.tar.gztar.gz 13.25 KB
MD5: c969af173965cdcfe5927fe61192dea7
SHA-1: 29f22d5875b74ff02b94972f6c48b10417155f92
SHA-256: dfe2bdd6e4b0c220f9403cac5659403b0be06783f5e72ac29fde1726f6051133
Download smart_trim-8.x-1.1.zipzip 17.41 KB
MD5: 9db9a8c91cdb9a4a86a43eca51ef93ca
SHA-1: 5f1c0f15914208e0ad2ec5cce1d6419040596fc0
SHA-256: 7b0c6134edf4a584ed39282addb73ae3756d07b37627196f473d578e4a965184

Release notes

This is a long overdue release that addresses some of the issues found by the community. It also adds the composer.json file which allows the module to be accessed via composer. Thank you everyone for your patience and support.

Changes since 8.x-1.0
Issue #2851703 by sardara: Missing schema.yml
Issue #2842404 by pfrilling: Allow a zero length trim
Issue #2842783 by richard.c.allen2386: Smart Trim should support plain text and plain text long data types (or string and string_long)
Issue #2661632 by superbiche: Trim to word boundary when using character count
Issue #2782689 by yvesvanlaer, heddn, markie: How to translate a custom read more link?
Issue #2733381 by Stefdewa, Shreya Shetty: UTF-8 encoding needed to show all characters correctly
Issue #2746533: Add a wrapper around text to separate from read more
Adding composer.
Issue #2796379 by shruti1803: Missing hook_help
Issue #2773709 by seaarg: A fatal error occurred: The [entity type] entity cannot have a URI as it does not have an ID
Issue #2758557 by rajeshwari10: Remove @file tag docblock from all the .php files
Issue #2770075 by Nitesh Pawar: Replaced t() with $this->t()
Issue #2736839 by cbeier: Twig exception if Smart Trim is used on a field -> entity with no link
Issue #2644360 by alan-ps: more link class attribute name is wrong

Created by: markie
Created on: 18 Jan 2018 at 18:46 UTC
Last updated: 11 Dec 2019 at 20:02 UTC
Bug fixes
Insecure

Other releases