Is it possible to prepopulate fields from Paragraphs entities?

Example: A content type allows adding multiple entities "Telephone" (via Paragraphs), which consists of the fields "Label" and "Telephone number". When prepopulating, it should be possible to add multiple pairs (label + telephone number) to this node, i.e., creating multiple Paragraphs entities.

Field collection could be used instead, but this likely going to be deprecated (it’s recommended to use Paragraphs instead).

Comments

no2e created an issue. See original summary.

heddn’s picture

Status: Active » Postponed (maintainer needs more info)

https://cgit.drupalcode.org/prepopulate/tree/USAGE.md?h=8.x-2.x has some details on how to use this module. Perhaps it will assist with solving this issue here?

heddn’s picture

Status: Postponed (maintainer needs more info) » Closed (outdated)

All these concerns should be addressed in https://www.drupal.org/project/prepopulate/releases/8.x-2.1. Please read the usage docs and the tests in https://cgit.drupalcode.org/prepopulate/tree/tests/src/Functional/Prepop... for examples how to use this module.