Skip to content

Commit e933bc5

Browse files
authored
[TASK] Remove bw compat for $GLOBALS['TCA'] in base TCA files (#6005)
1 parent 4c0615b commit e933bc5

File tree

1 file changed

+11
-1
lines changed
  • Documentation/ExtensionArchitecture/FileStructure/Configuration/TCA

1 file changed

+11
-1
lines changed

Documentation/ExtensionArchitecture/FileStructure/Configuration/TCA/Index.rst

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,17 @@ TCA file during the TCA compilation process.
3333
:shortDescription: Contains the TCA (Table Configuration Array), which initially defines the table <tablename>. Change TCA of existing tables in directory TCA/Overrides
3434

3535
One file per database table, using the name of the table for the file, plus
36-
".php". Only for new tables, provided by the extension itself. **Must not** be used to change existing tables provided by other extensions.
36+
".php". Only for new tables, provided by the extension itself.
37+
38+
**Must not** be used to change existing tables provided by other extensions.
39+
40+
.. versionchanged:: 14.0
41+
The backwards compatibility for usage of :php:`$GLOBALS['TCA']` in base TCA files
42+
is removed. See `Important: #107328 - $GLOBALS['TCA'] in base TCA files <https://docs.typo3.org/permalink/changelog:important-107328-1756815543>`_.
43+
44+
Using :php:`$GLOBALS['TCA']` was discouraged before this change and is
45+
impossible as the global is not set starting with 14.0. It **remains** possible to change this global variable in TCA Overrides for now.
46+
3747

3848
.. index:: Path; EXT:{extkey}/Configuration/TCA/Overrides
3949
.. _extension-configuration-tca-overrides:

0 commit comments

Comments
 (0)