By robpowell on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
8.6.x
Introduced in version:
8.6.0
Issue links:
Description:
The following migrate field plugin's methods were renamed in the interface to make them more clear of actual intended use. Here are those changes:
- Renamed
processFieldValues()todefineValueProcessPipeline() - Renamed
processField()toalterFieldMigration() - Renamed
processFieldInstance()toalterFieldInstanceMigration() - Renamed
processFieldWidget()toalterFieldWidgetMigration() - Renamed
processFieldFormatter()toalterFieldFormatterMigration()
To account for these renames, adjust the names in contrib and custom implementations to the new methods.
Impacts:
Module developers
Comments
8.5 and 8.6
We ran into a problem when this change was committed, we were using drupal migrate for our tests and this broke them all.
To fix it, we duplicated methods to have both names, thus, tests were passing in both branches.
See: https://www.drupal.org/project/paragraphs/issues/2985549#comment-12705032