Allow 'List' field formatter to be used in view mode configuration

Created on 6 February 2018, over 6 years ago
Updated 7 February 2023, over 1 year ago

When you currently install the module, the List field formatter doesn't show up on the view mode configuration form. This patch attempts to fix that, i.e.:

- It makes sure that all the list_formatter plugins have appropriate field_types set in their annotations.
- It filters out the language and path fields in the ListFormatter formatter plugin - there's probably a better/cleaner way to do this (not sure why they're showing up in the first place).
- It adds a config schema for the formatter configuration (see https://www.drupal.org/docs/8/creating-custom-modules/create-a-custom-fi... β†’ , under 'Formatter settings').

Pretty sure there is more to do, but with this patch applied, it looks like it's possible to use the list formatter again.

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡¨πŸ‡¦Canada brunodbo Coast Salish Territory

Live updates comments and jobs are added and updated live.
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.69.0 2024