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 v10 here: TYPO3 ELTS.
Description
description
-
- Type
- string or LLL reference
- Path
- $GLOBALS['TCA'][$table]['columns'][$field]
- Required
- false
- Scope
- Display
The property can be used to display an additional help text between the field label and the user input when editing records. As an example, the Core uses the description property in the site configuration module when editing a site on some properties like
identifier
.The property is available on all common
TCA
types likeinput
andselect
and so on.
Example
The field can be used with a string that will be directly output or with a language reference:
[
'columns' => [
'input_1' => [
'l10n_mode' => 'prefixLangTitle',
'exclude' => 1,
'label' => 'input_1 description',
'description' => 'field description',
'config' => [
'type' => 'input',
'behaviour' => [
'allowLanguageSynchronization' => true,
],
],
],
],
]
You can find this example in the extension styleguide.