[BUGFIX] TCA displayCond with EXT:anExt:LOADED fails
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Documentation / Changelog / master / Deprecation-70052-ExtLoadedDisplayCondition.rst
1 ======================================================
2 Deprecation: #70052 - TCA Display condition EXT LOADED
3 ======================================================
4
5 Description
6 ===========
7
8 In ``TCA`` the ``EXT:anExtension:LOADED`` display condition has been deprecated.
9
10
11 Affected Installations
12 ======================
13
14 Extensions that use ``LOADED`` display conditions. Those can be located by
15 searching for ``LOADED`` in the backend module ``Configuration`` ``TCA`` section,
16 example match from rtehtmlarea:
17
18 .. code-block:: php
19
20 'static_lang_isocode' => array(
21 'displayCond' => 'EXT:static_info_tables:LOADED:true',
22 'config' => ...
23 ...
24 ),
25
26
27 Migration
28 =========
29
30 Do not use any longer. ``TCA`` works additive, so the extension that is referenced in
31 ``EXT:LOADED:extensionName`` should instead add columns definition instead of the
32 referring extension defining the ``TCA`` conditional. In the example above, the
33 column definition of ``static_lang_isocode`` was removed from extension ``rtehtmlarea``
34 and moved to extension ``static_info_tables``, adding the field in an
35 ``Configuration/TCA/Overrides`` file to the affected table. To ensure the load order
36 of extensions is correct, ``static_info_tables`` could set a ``suggest`` dependency
37 ``rtehtmlarea``.