Deprecation: #82603 - Deprecate Storage module
See forge#82603
Description
The RequireJS module TYPO3/
has been marked as deprecated. The module has been split into the
modules TYPO3/
and TYPO3/
.
Impact
Using TYPO3/
will trigger a warning in the browser's developer console.
Affected Installations
All extensions using TYPO3/
are affected.
Migration
Instead of using Storage.
and Storage.
use the introduced modules instead.
Example code:
define(['TYPO3/CMS/Backend/Storage/Persistent'], function(PersistentStorage) {
if (!PersistentStorage.isset('my-key')) {
PersistentStorage.set('my-key', 'foobar');
}
});
Copied!