[FEATURE] Access site configuration in foreign_table_where
This patch adds the possibility to access site configuration with a placeholder in TCA's `foreign_table_where` query. To access a configuration value the following syntax is available: * ###SITE:rootPageId### * ###SITE:foo.bar.baz### (array path notation) Resolves: #94662 Releases: master Change-Id: I2047085d20c914960bbcd88df5b4c7a7f8d53282 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/70126 Tested-by:core-ci <typo3@b13.com> Tested-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Reviewed-by:
Wouter Wolters <typo3@wouterwolters.nl> Reviewed-by:
Benni Mack <benni@typo3.org>
Showing
- typo3/sysext/backend/Classes/Form/FormDataProvider/AbstractItemProvider.php 56 additions, 0 deletions...nd/Classes/Form/FormDataProvider/AbstractItemProvider.php
- typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaSelectItemsTest.php 58 additions, 0 deletions...d/Tests/Unit/Form/FormDataProvider/TcaSelectItemsTest.php
- typo3/sysext/core/Documentation/Changelog/master/Feature-94662-AddPlaceholderForSiteConfigurationInForeignTableWhere.rst 32 additions, 0 deletions...AddPlaceholderForSiteConfigurationInForeignTableWhere.rst
Please register or sign in to comment