File tree Expand file tree Collapse file tree
Documentation/DeveloperManual/OwnEvents Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -117,10 +117,11 @@ public static function createTcaConfiguration(array $configuration): void
117117 'type ' => 'none ' ,
118118 'renderType ' => 'calendarizeInfoElement ' ,
119119 'parameters ' => [
120- 'items ' => 10 ,
120+ 'items ' => $ GLOBALS [ ' TCA ' ][ $ tableName ][ ' columns ' ][ ' calendarize_info ' ][ ' config ' ][ ' parameters ' ][ ' items ' ] ?? 10 ,
121121 ],
122122 ],
123123 ];
124+
124125 ExtensionManagementUtility::addToAllTCAtypes (
125126 $ tableName ,
126127 $ fieldName . ',calendarize_info ' ,
Original file line number Diff line number Diff line change @@ -62,4 +62,4 @@ To modify the amount of items shown in the preview you can change the amount in
6262.. code-block :: php
6363 :caption: EXT:some_extension/Configuration/TCA/Overrides/<tx _extension_domain_model_event >.php
6464
65- $GLOBALS['TCA']['tx_myextension_domain_model_myevent']['columns']['calendarize_info']['config']['items'] = 25;
65+ $GLOBALS['TCA']['tx_myextension_domain_model_myevent']['columns']['calendarize_info']['config']['parameters'][' items'] = 25;
You can’t perform that action at this time.
0 commit comments