Install
Works with Drupal: ^10.3 || ^11 || ^12Using Composer to manage Drupal site dependencies
Alternative installation files
Download tar.gz
51.52 KB
MD5: 5faf330c1e56b0b04a7fcdf2e4a5ad6c
SHA-1: 0ec6b978357e4c828ff6e52cfef80665f46011a3
SHA-256: 897ee253bd1cf6ac339cf08134fc2e0d40f277c19a87ca6790d35b43a86ef7eb
Download zip
97.74 KB
MD5: 74073092c7d2bba79894ffcf38250aac
SHA-1: 3f214cdd346b35222c92606a92a04eb8da514f44
SHA-256: 3df18b7ff274474ba5ef3998a2bbbeaa951c24640590a622824fea2015adffae
Release notes
This release adds Drupal 12 compatibility and converts the process plugins to PHP attributes. Other modules can now declare process plugins for the field mapping form with the new #[EntityImportProcess] attribute.
Changed requirements
- Drupal core:
^10.3 || ^11 || ^12(was^10 || ^11). Sites on Drupal 10.0 to 10.2 must update core first. - Entity Import Plus: requires Migrate Plus 6.0.10 or later (was 8.x-5.x).
Note for developers
- Custom process plugins: declare them with
#[EntityImportProcess(id: ..., label: ...)]. Plugins with the@MigrateProcessPluginannotation keep working until Drupal 13 removes that annotation. See the README for an example. - Several methods now declare native return types:
EntityImportCallback::transform(),EntityImportExplode::transform()andMigrationConverter::convert()(mixed), andEntityImporterFieldMapping::calculateDependencies()(static). Classes that extend these and override those methods need the same return type.
Contributors (2)
Project-Update-Bot, tobiasb
Changelog
Issues: 2 issues resolved.
Changes since 8.x-1.0-alpha8:
Bug
- fix(entity_import_plus): align migrate_plus version constraint
- fix: add native return types for Drupal 12 compatibility
- fix(phpstan): cast nullable labels to string in t() arguments
Task
- #3597707 Automated Drupal 12 compatibility fixes for entity_import 1.x-dev
- #3555628 Convert MigrateProcessPlugin annotations to attributes
Misc
- docs: fix EntityImportDefaultValue class description
- ci: test against the next major version of Drupal core (12.x)
- ci: run the previous major composer job on PHP 8.2