Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
I have a field handler that adds subfields to certain migration classes. These subfields are not shown on the migration edit form, but they are shown on the migration view page. This is because the migration variable is not being passed to the fields method in the edit form.
Migration view page
Line 852: $destination_fields = $destination->fields($migration);
Migration edit form
Line 971: $dest_fields = $migration->getDestination()->fields();
Proposed resolution
The migration variable should be passed to the fields method in the edit form.
Remaining tasks
- Patch is ready for review.
Comment | File | Size | Author |
---|---|---|---|
#1 | edit-destination-fields-2261227.patch | 959 bytes | Darren Oh |
Comments
Comment #1
Darren OhPatch attached.
Comment #3
mikeryanComment #5
mikeryan