Document ModuleHandler pre-conditions

Created on 21 April 2014, about 11 years ago
Updated 14 January 2025, 4 months ago

ModuleHandler::addModule() and ModuleHandler::addProfile() require that the module and path point to a valid module and if they are invalid weird things could happen. Sun said these should use the @internal annotations( #340723-185: Make modules and installation profiles only require .info.yml files β†’ ) and these methods are for special cases like the installer. Even so, since they are public we should clarify. This clarification will also help regardless of accepting use of the @internal tag.

πŸ“Œ Task
Status

Needs work

Version

11.0 πŸ”₯

Component

extension system

Created by

πŸ‡ΊπŸ‡ΈUnited States neclimdul Houston, TX

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

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