Problem/Motivation
Following #2842222: D7 Plain text fields incorrectly migrated to D8 as Text (formatted) and #2893061: Create a ProcessField plugin to process the field types, we need to replace the field type static_map in the d7_field migration by dedicated Field plugins.
Proposed resolution
Write a Field plugin for entity reference fields.
Remaining tasks
Write a patch. Review.
User interface changes
None.
API changes
None.
Data model changes
None.
| Comment | File | Size | Author |
|---|---|---|---|
| #11 | interdiff-2893073-5-11.txt | 1.04 KB | maxocub |
| #11 | 2893073-11.patch | 649 bytes | maxocub |
| #5 | 2893073-5.patch | 1.06 KB | maxocub |
| #5 | interdiff-3-5.txt | 686 bytes | maxocub |
| #3 | 2893073-3.patch | 1.03 KB | maxocub |
Comments
Comment #2
maxocub commentedComment #3
maxocub commentedHere's a first patch.
Comment #5
maxocub commentedComment #6
phenaproximaSelf-assigning for review.
Comment #7
heddnAssigning to myself for review this week.
Comment #8
heddnGoing to add a pre-task of updating the base class since this issue and #2893075: Create a ListField Field plugin, #2893076: Create a NumberField Field plugin, #2893077: Create a PhoneField Field plugin all depend on the exact same functionality in processFieldValues().
Comment #10
maxocub commentedPreparing for #2896507: Update FieldPluginBase with a default processFieldValues() and getFieldFormatterMap() getting in.
Comment #11
maxocub commentedOups, forgot the files.
Comment #12
maxocub commentedSince they are quite small, similar and related, let's do the for new field plugin in one patch: #2901851: Replace the static map in the d7_field migration by field plugins