Change record status: 
Project: 
Introduced in branch: 
8.6.x
Introduced in version: 
8.6.0
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() to defineValueProcessPipeline()
  • Renamed processField() to alterFieldMigration()
  • Renamed processFieldInstance() to alterFieldInstanceMigration()
  • Renamed processFieldWidget() to alterFieldWidgetMigration()
  • Renamed processFieldFormatter() to alterFieldFormatterMigration()

To account for these renames, adjust the names in contrib and custom implementations to the new methods.

Impacts: 
Module developers

Comments

johnchque’s picture

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