Add support for fields referencing Paragraph entities

Created on 27 June 2023, over 1 year ago
Updated 2 April 2024, 8 months ago

Problem/Motivation:

The swiper formatter allows to assign a formatter to certain fields so that they are formatted as slider using swiper.js.
The use of fields that reference paragraph entities is not supported by the module.

The goal of this issue is to include support for referenced paragraphs to the field formatter.

Steps to reproduce

In a content type add new field form type "Media" to reference a media entity.
On Manage Display tab of the Content Type select a formatter for that field. The option "Swiper entity" is available.

Now:
In the same Content Type add new field form type "Entity Reference Revisions" to reference a Paragraph entity.
On Manage Display tab of the Content type select a formatter for that field. The option "Swiper entity" is not available.

Proposed resolution

Add a field type "entity_reference_revisions" to the "SwiperFormatterEntity".

Feature request
Status

Fixed

Version

1.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024