Problem/Motivation

It would be nice to have `Link` field type compatibility.

Steps to reproduce

- Create a "CTA" paragraph type with a link field.
- Create content, add a "CTA" paragraph and fill in the link field.
- Press the "Save set (with content)" button.
- Edit the newly created Paragraphs set. It does not contain the link field.

Proposed resolution

- Add the link field to the list of `ALLOWED_TYPES` in `ParagraphsSetsCreator`.
- Create a test that demonstrates yml data structure is correct.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

budalokko created an issue. See original summary.

budalokko’s picture

Status: Active » Needs review

Added `link` field type which seems to work fine. Can be tested in the following patch:

https://git.drupalcode.org/project/paragraphs_sets_plugins_ui/-/merge_re...

gilmord made their first commit to this issue’s fork.

  • gilmord committed d8c254aa on 1.0.x authored by budalokko
    Issue #3411954: Add link field type and a kernel test demonstrating...
gilmord’s picture

Status: Needs review » Fixed
gilmord’s picture

Status: Fixed » Closed (fixed)