Install

Works with Drupal: ^9.5 || ^10 || ^11

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 182.16 KB
MD5: 012cd0d7c7ec95a6a8c5c103f739df13
SHA-1: 1152284a912a4c282b2b0fbcea0e39dca6578b41
SHA-256: 51a96976c1df8599cf369137f483bafbc7cc8aa19f0997c031651814cc52eede
Download zip 199.37 KB
MD5: e294dc089b6b7316af203a5a33f4e605
SHA-1: c1aaee7a1c93141f10ced7a74a9a8e4a0bbe7af9
SHA-256: bfebd596e76671330aaad4d27bfe4311cfd597a802a5111d998f3029a571f914

Release notes

Minor update since 2.2.0 is over a year old. Update required for breaking changes in the Token module. Please make sure to use `composer update drupal/smart-trim --with-all-dependencies` to update Token as well.

Additionally, some minor bugs fixed and module maintenance updates.

Issues Resolved:

  • #3566575: Require token 1.17 or greater.
  • #3566575: Refactor `smart_trim` token logic into a dedicated service for improved... 
  • #3545263: Add @phpstan-ignore-next-line for attributes.James Shields
  • #3502703: "More" Text doesn't support Tokens, even if it says it does
  • #3511505: Update Smart Trim to use Object Oriented Hooks
  • #3511681: PHPStan fails for Next Minor

Created by: markie
Created on: 11 Jan 2026 at 18:13 UTC
Last updated: 11 Jan 2026 at 18:13 UTC
Bug fixes

Other releases