Deprecation: #88569 - Locales::initialize() in favor of regular singleton instance ¶
See Issue #88569
has been deprecated. It was a workaround to re-initialize
the Singleton Instance of the PHP class
for user-defined locales, which were
loaded by an extensions’
Locales is now initialized only when needed, and not during the early bootstrap process, making this functionality obsolete, as this is taken care of within the regular constructor.
will trigger a deprecation notice.
Affected Installations ¶
Any TYPO3 installation with a third-party extension calling
Replace the function call by a regular
or use Dependency Injection (Constructor Injection or ObjectManager) to fetch an instance of
the Locales class.