Deprecation: #68122 - Deprecate GeneralUtility::readLLfile
See forge#68122
Description
Method General
was just a wrapper around LocalizationFactory
and has been marked as deprecated.
Impact
Extensions using real
to parse localization files should switch to
an instance of Localization
.
Affected Installations
Extensions using General
Migration
A typical call now should look like:
/** @var $languageFactory \TYPO3\CMS\Core\Localization\LocalizationFactory */
$languageFactory = GeneralUtility::makeInstance(\TYPO3\CMS\Core\Localization\LocalizationFactory::class);
$languageFactory->getParsedData($fileToParse, $language, $renderCharset, $errorMode);
Copied!