[!!!][TASK] Deprecate typo3conf/extTables.php functionality
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Documentation / Changelog / master / Deprecation-65344-ExtTables.rst
1 ========================================================
2 Deprecation: #65344 - typo3conf/extTables.php deprecated
3 ========================================================
4
5 Description
6 ===========
7
8 The file ``typo3conf/extTables.php`` which could be used for local TCA modifications is deprecated.
9
10 Setting ``$GLOBALS['TYPO3_CONF_VARS']['DB']['extTablesDefinitionScript']`` together with the constant
11 ``TYPO3_extTableDef_script`` are deprecated and should not be used any longer.
12
13
14 Impact
15 ======
16
17 The options and files are typically used for "poor man" ``$GLOBALS['TCA']`` overrides. This is discouraged
18 and shouldn't be used any longer.
19
20
21 Migration
22 =========
23
24 There are two options to migrate away from ``typo3conf/extTables.php`` usage, the first one should be preferred:
25
26 * It is good practice to have a project / site specific extension that contains templates, TypoScript and
27 other stuff. Create one or more dedicated extensions and use TCA overrides to apply the desired modifications.
28 Something like ``$GLOBALS['TCA']['pages']['ctrl']['hideAtCopy'] = FALSE;`` should be moved from ``typo3conf/extTables.php``
29 to ``typo3conf/ext/<your_extension>/Configuration/TCA/Overrides/pages.php``.
30
31 * Slot the signal ``tcaIsBeingBuilt`` that is emitted in ``ExtensionManagementUtility.php``.