Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
In #3124618: Support text with summary we added support for a summary - but sometimes it is empty.
Steps to reproduce
Use element class formatter on body field, opt-in to use summary, but don't populate the field
Proposed resolution
When summary is empty, fallback to trimmed body.
Remaining tasks
User interface changes
API changes
Data model changes
Comment | File | Size | Author |
---|---|---|---|
trim-summary-3178302.patch | 3.75 KB | larowlan | |
|
Comments
Comment #2
larowlanComment #4
rikki_iki CreditAttribution: rikki_iki at PreviousNext commentedThanks for the patch!