Attention
TYPO3 v11 has reached end-of-life as of October 31th 2024 and is no longer being maintained. Use the version switcher on the top left of this page to select documentation for a supported version of TYPO3.
Need more time before upgrading? You can purchase Extended Long Term Support (ELTS) for TYPO3 v11 here: TYPO3 ELTS.
The $TCA_DESCR Array
The global array $TCA_
is reserved to contain CSH labels. CSH
labels are loaded as they are needed. Thus the class rendering the
form will make an API call to the global language object to have the
CSH labels loaded - if any - for the relevant table.
Basically, the $TCA_
array contains references to the
registered language files. As it gets used, it is filled with the
actual labels. This task is performed by method
\TYPO3\
.
The content of the $TCA_
array can be reviewed in the
System > Configuration module:
As can be seen, several files can be registered for the same table. This makes it possible to:
- override existing CSH labels (e.g. for providing more dedicated help)
- extending existing labels
- add CSH labels for fields added by the extension
Keys in $TCA_DESCR
Each file is registered with $TCA_
using a key. For a
database table, this is simple the table name. For backend modules you
can use the following syntax:
_MOD_[main module]_[module name]
For the Web > Info module, the key is:
_MOD_web_info
The loaded labels will be available in $TCA_
.