Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 296020

Add base class for migrating reference fields

$
0
0

Problem/Motivation

We need to support migration of several different types of legacy reference fields to D8:

  • Node and user reference, for both D6 and D7
  • D7 taxonomy term reference fields
  • D7 entity reference fields

Proposed resolution

Create a base class for migrate field plugins that handle all reference-type fields, since they tend to be more similar than they are different. Implement the node and user reference migrations for Drupal 6.

Remaining tasks

Any necessary documentation changes?

User interface changes

None.

API changes

Deprecates \Drupal\migrate_drupal\Plugin\migrate\field\NodeReference.

New @MigrateField plugins: \Drupal\migrate_drupal\Plugin\migrate\field\d6\NodeReference and \Drupal\migrate_drupal\Plugin\migrate\field\d6\UserReference.

Release notes snippet

TBD


Viewing all articles
Browse latest Browse all 296020

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>