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.
ds_tableField
ds_tableField
-
- Path
-
$GLOBALS['TCA'][$table]['columns'][$field]['config']
- type
-
string
- Scope
-
Display / Proc.
Contains the value "[table]:[field name]" from which to fetch Data Structure XML.
ds_pointerField is in this case the pointer which should contain the uid of a record from that table.
Examples
This is used by TemplaVoila extension for instance where a field in the "tt_content" table points to a TemplaVoila Data Structure record:
'tx_templavoila_flex' => [
'label' => '...',
'displayCond' => 'FIELD:tx_templavoila_ds:REQ:true',
'config' => [
'type' => 'flex',
'ds_pointerField' => 'tx_templavoila_ds',
'ds_tableField' => 'tx_templavoila_datastructure:dataprot',
],
],