- 🇩🇪Germany donquixote
It looks like we are confusing the
%container.modules%
container parameter and the@extension.list.module
service.
These have very different purposes.The ModuleExtensionList is _not_ the "canonical repository" for installed modules.
The %container.modules% parameter is, but it is not a service, so it cannot replace what we have in ModuleHandler.Also it contains arrays instead of Extension objects - which is actually ok, because the Extension objects from ModuleHandler are never fully initialized with all the properties they would have in ModuleExtensionList.
- 🇫🇷France andypost
Child issue is fixed 📌 Deprecate ModuleHandlerInterface::getName() Fixed
- Merge request !6903Draft: ModuleHandler should not maintain list of installed modules #2941155 → (Open) created by andypost
- Status changed to Needs review
9 months ago 6:30pm 9 March 2024 - Status changed to Needs work
9 months ago 7:08pm 9 March 2024 The Needs Review Queue Bot → tested this issue. It fails the Drupal core commit checks. Therefore, this issue status is now "Needs work".
This does not mean that the patch necessarily needs to be re-rolled or the MR rebased. Read the Issue Summary, the issue tags and the latest discussion here to determine what needs to be done.
Consult the Drupal Contributor Guide → to find step-by-step guides for working with issues.