Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Expandable Formatter

Security covered Maintenance fixes only 86 sites

This module adds a field formatter to Drupal that allows you to expand and collapse content. Instead of trimming based on character count, it uses a specific height to determine when to truncate text, ensuring a consistent layout. You can enable this formatter for text-based fields in your content type's display settings and configure its behavior.

This module adds a field formatter that expands and collapses to obscure content that is longer than desired. It is similar in principle to Expanding Formatter, but operates in a different manner. Rather than trimming based on a number of characters, this module uses a specific height to trim the text. This results in a predictable layout every time.

How to use this module:

Enable the module and go to your content type's display settings. You will see on text-based fields (like body) that you now have the ability to choose the "Expandable" option, which will also give you options on the right to configure.

Drupal 8–10 · not 11

Ask your assistant about Expandable Formatter

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

  • field Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Jun 2023
Latest release
3 years ago
Releases (12 mo)
0
Maintenance
Dormant

Releases

Version Type Core PHP Release date
8.x-1.4 Stable 8–10 Jun 27, 2023