Deprecation: #90258 - Simplified RTE Parser API
See forge#90258
Description
The PHP class Rte
which is used to transform RTE-based
textarea fields from the database to the configured Rich Text Editor, and back, has a new simplified API.
For this reason, the following two methods have been marked as deprecated:
TYPO3\
CMS\ Core\ Html\ Rte Html Parser->init () TYPO3\
CMS\ Core\ Html\ Rte Html Parser->RTE_ transform ()
Impact
Calling any of the methods will trigger a PHP E_
error.
Affected Installations
TYPO3 installations with extensions dealing with extracting or adding content such as "l10nmgr", or any custom extension using the methods.
Migration
The method TYPO3\
can be removed without substitution, as it
serves no purpose anymore.
The method TYPO3\
now has two methods as substitute,
depending on the direction which is necessary. This was previously
done in the third method argument ("rte" and "db"):
transform
Text For Rich Text Editor ($content, $configuration) transform
Text For Persistence ($content, $configuration)
The second argument $configuration
is now the processing
configuration (proc
) of the RTE configuration.