Skip to content
Snippets Groups Projects
Commit 3fea8533 authored by tiggr's avatar tiggr Committed by Oliver Bartsch
Browse files

[DOCS] Correct field name in reaction's example

To add a custom table to the list of tables,
the corresponding TCA field name "table_name"
has to be used.

Releases: main, 12.4
Resolves: #103181
Change-Id: I1349465f320f882f2cf628a34dd445ceef375f2a
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/83080


Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: default avatarGarvin Hicking <gh@faktor-e.de>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarOliver Bartsch <bo@cedev.de>
Tested-by: default avatarGarvin Hicking <gh@faktor-e.de>
parent 5043d3cb
Branches
Tags
No related merge requests found
......@@ -155,11 +155,11 @@ available in the reaction's table selection, add the table in a corresponding
if (\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::isLoaded('reactions')) {
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTcaSelectItem(
'sys_reaction',
'tx_myextension_domain_model_mytable',
'table_name',
[
'LLL:EXT:myext/Resources/Private/Language/locallang.xlf:tx_myextension_domain_model_mytable',
'tx_myextension_domain_model_mytable',
'myextension-tx_myextension_domain_model_mytable-icon',
'label' => LLL:EXT:myext/Resources/Private/Language/locallang.xlf:tx_myextension_domain_model_mytable',
'value' => tx_myextension_domain_model_mytable',
'icon' => 'myextension-tx_myextension_domain_model_mytable-icon',
]
);
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment