Shared configuration not available when using migrate plus config entities

Created on 4 January 2023, over 2 years ago
Updated 4 July 2025, 4 days ago

Problem/Motivation

Shared configuration for migrations β†’ is a great new feature, but it does not work with migrate_plus migrations because the \Drupal\migrate_plus\Entity\Migration config entity is not aware that "include" is a valid config key.

Steps to reproduce

  1. Install migrate tools and migrate plus.
  2. Create migrate tools shared configuration defining a source.
  3. Create a migrate plus config entity without a source which includes the shared configuration.
  4. Check /admin/structure/migrate and see an error notice because the shared configuration is not found: Warning: Undefined array key "plugin" in Drupal\migrate\Plugin\Migration->getSourcePlugin().

Proposed resolution

Update the \Drupal\migrate_plus\Entity\Migration config entity with the include config key through an entity_type_alter in migrate tools.

✨ Feature request
Status

Fixed

Version

6.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States benabaird

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024