Needs work
Project:
Drupal core
Version:
main
Component:
plugin system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
13 May 2025 at 16:28 UTC
Updated:
27 Jan 2026 at 15:39 UTC
Jump to comment: Most recent
In #2786355: Convert multiple provider plugin work from migrate into plugin dependencies in core, plugin class dependencies (such as the plugin class extending a class, implementing an interface, or using a trait from a different module) were found via Reflection and added as a property on the plugin definition. These dependencies include the provider (module, in other words) list of the class/interface/trait.
Though these module dependencies exist in the plugin definition, they may also need to be included in the dependency calculation for configuration that uses these plugins, so that module uninstallation can be acted on appropriately.
Comments
Comment #2
godotislateComment #4
claudiu.cristeaI guess this is no more blocked.
Comment #5
godotislateSo in #2786355: Convert multiple provider plugin work from migrate into plugin dependencies in core, the dependencies are parsed into a separate property (
dependencies) from the plugin definition (content), which makes them inaccessible outside parsing. I think I did this worrying about any collisions with an possibly existingdependenciesproperty in the plugin definition, as well as wanting to avoid bloating the definition.Likely in order to do this, though, the dependencies will need to be saved to the plugin definition content as it is parsed, so they can be retrieved later.