[FEATURE] TCA: Allow label in palette array
Allow 'label' within the 'palettes' array in TCA next to 'showitem'. This defines a default label rendered as the palette label in FormEngine if not overridden in a 'types' definition like '--palette--;labelReference;thePalette'. The patch introduces this feature in PaletteAndSingleContainer of FormEngine code and adapts core TCA definitions to introduce the default labels for palettes. This makes the 'types' definitions shorter and much better readable and gives the core an opportunity to steer the labels for palettes which are often re-used by extension authors. Change-Id: I185340d4e037d713eebbb6cd676287e6fe85705b Resolves: #82826 Releases: master Reviewed-on: https://review.typo3.org/54449 Reviewed-by:Benjamin Kott <benjamin.kott@outlook.com> Tested-by:
Benjamin Kott <benjamin.kott@outlook.com> Tested-by:
TYPO3com <no-reply@typo3.com> Reviewed-by:
Wouter Wolters <typo3@wouterwolters.nl> Reviewed-by:
Benni Mack <benni@typo3.org> Tested-by:
Benni Mack <benni@typo3.org>
Showing
- typo3/sysext/backend/Classes/Form/Container/PaletteAndSingleContainer.php 9 additions, 1 deletion...kend/Classes/Form/Container/PaletteAndSingleContainer.php
- typo3/sysext/backend/Tests/Unit/Form/Container/PaletteAndSingleContainerTest.php 194 additions, 0 deletions...sts/Unit/Form/Container/PaletteAndSingleContainerTest.php
- typo3/sysext/core/Configuration/TCA/pages.php 103 additions, 78 deletionstypo3/sysext/core/Configuration/TCA/pages.php
- typo3/sysext/core/Configuration/TCA/sys_file_reference.php 10 additions, 6 deletionstypo3/sysext/core/Configuration/TCA/sys_file_reference.php
- typo3/sysext/core/Documentation/Changelog/master/Feature-82826-TCAAllowLabelInPalettesArray.rst 61 additions, 0 deletions...log/master/Feature-82826-TCAAllowLabelInPalettesArray.rst
- typo3/sysext/core/Tests/Unit/Utility/ExtensionManagementUtilityTest.php 3 additions, 3 deletions...ore/Tests/Unit/Utility/ExtensionManagementUtilityTest.php
- typo3/sysext/felogin/Configuration/TCA/Overrides/tt_content.php 5 additions, 5 deletions...sysext/felogin/Configuration/TCA/Overrides/tt_content.php
- typo3/sysext/filemetadata/Configuration/TCA/Overrides/sys_file_metadata.php 30 additions, 23 deletions...etadata/Configuration/TCA/Overrides/sys_file_metadata.php
- typo3/sysext/fluid_styled_content/Documentation/AddingYourOwnContentElements/Index.rst 5 additions, 5 deletions...tent/Documentation/AddingYourOwnContentElements/Index.rst
- typo3/sysext/form/Configuration/TCA/Overrides/tt_content.php 5 additions, 5 deletionstypo3/sysext/form/Configuration/TCA/Overrides/tt_content.php
- typo3/sysext/frontend/Configuration/TCA/pages_language_overlay.php 59 additions, 47 deletions...ext/frontend/Configuration/TCA/pages_language_overlay.php
- typo3/sysext/frontend/Configuration/TCA/tt_content.php 160 additions, 147 deletionstypo3/sysext/frontend/Configuration/TCA/tt_content.php
- typo3/sysext/workspaces/Configuration/TCA/sys_workspace.php 6 additions, 3 deletionstypo3/sysext/workspaces/Configuration/TCA/sys_workspace.php
Please register or sign in to comment