- Issue created by @.nickiv
After the recent update (Commit: 464f5ec98c64), the ImporterDeriver now dynamically generates importers for all content entity types. While this simplifies the general setup, it has introduced a limitation: it is no longer possible to define and use custom importer plugins for specific use cases.
Previously, it was possible to create and use custom importer plugins tailored to specific needs, such as implementing unique import logic for a particular node bundle (e.g., custom_content). Now, the dynamically generated importers override any custom plugins, making them inaccessible without modifying the module.
1. Create a custom entity type import following the documentation https://www.drupal.org/docs/8/modules/csv-importer/create-custom-entity-type-import.
2. Update from composer require 'drupal/csv_importer:^1.16 to 'drupal/csv_importer:^2.0'
3. Attempt to select and use the custom importer for the import process.
3. Observe that the custom plugin is no longer choosable, making it inaccessible.
Reintroduce support for defining and selecting custom importer plugins while maintaining the new dynamic generation of importers. Possible approaches:
Thank you for your assistance.
Active
2.0
Code