diff --git a/typo3/sysext/reactions/Documentation/Reactions/CreateDatabaseRecord/Index.rst b/typo3/sysext/reactions/Documentation/Reactions/CreateDatabaseRecord/Index.rst index 71adf8e7ed3cff87c676f19980927a5f874705bf..43089b9ccb53306d3c1dcab699707e97abfd6b74 100644 --- a/typo3/sysext/reactions/Documentation/Reactions/CreateDatabaseRecord/Index.rst +++ b/typo3/sysext/reactions/Documentation/Reactions/CreateDatabaseRecord/Index.rst @@ -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', ] ); }