Paragraph summary formatter

Created on 24 February 2015, almost 10 years ago
Updated 18 March 2024, 9 months ago

Hi,

For a client needs, I create a "paragraph_summary" formatter that I use in the teaser view_mode for my host entity.

This formatter allow to
- choose which paragraphs bundles are allowed to be displayed (only "text" paragraph in my case)
- paragraphs bundles view mode
- How many paragraphs items are displayed

You can find the code here : https://gist.github.com/opi/c0cb89a3b7c934c5fe7a, and a screenshot with formatter's settings attached

I wonder how to release this formatter to the beautiful Drupal contrib world, whether in a dedicated contrib module or as a core paragraphs formatter.
Do you think that it's a usefull formatter ? Do you prefer a patch to integrate this formatter to paragraphs module or a separated contib module ?

Feature request
Status

Needs work

Version

1.0

Component

Code

Created by

🇫🇷France opi

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

  • Usability

    Makes Drupal easier to use. Preferred over UX, D7UX, etc.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024