Extension folder Configuration/TCA
The folder EXT:
may contain or override
TCA (Table Configuration Array) data.
All files in this directory are automatically included during the TYPO3 bootstrap.
Files within Configuration/
files are loaded within a dedicated scope.
This means that variables defined in those files cannot leak to any other
TCA file during the TCA compilation process.
Configuration/TCA/<tablename>.php
Configuration/TCA/tablename.php
-
- Scope
- extension
- Path (Composer)
- packages/my_extension/Configuration/TCA/tablename.php
- Path (Classic)
- typo3conf/ext/my_extension/Configuration/TCA/tablename.php
One file per database table, using the name of the table for the file, plus ".php". Only for new tables, provided by the extension itself. Must not be used to change existing tables provided by other extensions.
Configuration/TCA/Overrides/somefile.php
Configuration/TCA/Overrides/somefile.php
-
- Scope
- extension
- Path (Composer)
- packages/my_extension/Configuration/TCA/Overrides/somefile.php
- Path (Classic)
- typo3conf/ext/my_extension/Configuration/TCA/Overrides/somefile.php
For extending existing tables.
General advice: One file per database table, using the name of the table for the file, plus
.php
. For more information, see the chapter Extending the TCA array.