Deprecation: #72340 - Moved moduleLabels from LanguageService to ModuleLoader

See Issue #72340


Labels for registered modules were previously stored within the LanguageService class. The logic has been moved to the ModuleLoader class. The method LanguageService->addModuleLabels() and the property LanguageService->moduleLabels have been marked as deprecated.


Calling LanguageService->addModuleLabels() will trigger a deprecation log entry. The property LanguageService->moduleLabels will no longer contain the expected values anymore.

Affected Installations

Any installation with extensions that directly access the labels for a given module.


Use ModuleLoader->addLabelsForModule() and ModuleLoader->getLabelsForModule instead.