38 lines
768 B
ReStructuredText
38 lines
768 B
ReStructuredText
.. include:: /Includes.rst.txt
|
|
|
|
.. _deprecation-82609:
|
|
|
|
=============================================
|
|
Deprecation: #82609 - Deprecate TYPO3.Utility
|
|
=============================================
|
|
|
|
See :issue:`82609`
|
|
|
|
Description
|
|
===========
|
|
|
|
The public property :js:`TYPO3.Utility` has been marked as deprecated. `Utility` may be used in AMD based modules by
|
|
importing :js:`TYPO3/CMS/Backend/Utility` instead.
|
|
|
|
|
|
Affected Installations
|
|
======================
|
|
|
|
All extensions using :js:`TYPO3.Utility` are affected.
|
|
|
|
|
|
Migration
|
|
=========
|
|
|
|
Import :js:`TYPO3/CMS/Backend/Utility` in your AMD module.
|
|
|
|
Example code:
|
|
|
|
.. code-block:: javascript
|
|
|
|
define(['TYPO3/CMS/Backend/Utility'], function(Utility) {
|
|
// use Utility here
|
|
});
|
|
|
|
.. index:: JavaScript, Backend, NotScanned
|