Chophper
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.
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.