Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Chophper

No security coverage Under active development

This module provides field formatters that truncate text fields while preserving HTML structure, using the Chophper PHP library. It offers a direct replacement for the core Trimmed formatter and an option to display a summary if available, otherwise truncating the text.

Chophper provides field formatters for truncating formatted text fields using
the Chophper PHP library, which preserves HTML structure while truncating content.

Two formatters are provided:

Trimmed (Chophper): Truncates the field value. Equivalent to the core Trimmed formatter but uses Chophper for truncation.

Summary or trimmed (Chophper): Renders the summary when one is available; otherwise truncates the field value with Chophper.

Ask your assistant about Chophper

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
Mar 2026
Latest release
7 months ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Slowing

Releases

Version Type Core PHP Release date
1.0.0-rc1 Pre-release 10–11 Mar 26, 2026
1.0.x-dev Dev 10–11 Mar 26, 2026