Deprecation: #90964 - LanguageService functionality and internal properties
See forge#90964
Description
LanguageService - also known as $GLOBALS
within TYPO3 Core
is used to fetch a label string from a XLF file and deliver the
translated value from that string.
Some functionality related to legacy functionality or internal logic has been marked as deprecated and changed visibility:
Language
- is now protected instead of publicService->LL_ files_ cache Language
- is now protected instead of publicService->LL_ labels_ cache Language
- is deprecated as it is not neededService->get Labels With Prefix () Language
- is now protected instead of publicService->get LLL () Language
- is now protected instead of publicService->debug LL ()
The method Language
is marked as internal now.
Impact
Calling any of the methods or properties listed above will trigger a PHP E_
error.
Affected Installations
TYPO3 installations with extensions of custom logic using the internals of specifics of the Language
class.
Migration
Use the Public API of the Language
- namely s
and get
directly.