From 51d430557703bcbdce4e603bb5e276633367efc7 Mon Sep 17 00:00:00 2001 From: Mathias Brodala Date: Wed, 7 Jun 2023 10:32:12 +0200 Subject: [PATCH] [BUGFIX] Update TCA select relations data provider for TYPO3v11 See https://github.com/TYPO3/typo3/commit/bdeeb0cf96a9f86eeaf60db8f8beafc26718978c --- Classes/DataCollector/TCA/DataProvider/TcaSelectRelations.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Classes/DataCollector/TCA/DataProvider/TcaSelectRelations.php b/Classes/DataCollector/TCA/DataProvider/TcaSelectRelations.php index 92fd3368..40ce045e 100644 --- a/Classes/DataCollector/TCA/DataProvider/TcaSelectRelations.php +++ b/Classes/DataCollector/TCA/DataProvider/TcaSelectRelations.php @@ -15,10 +15,11 @@ class TcaSelectRelations extends TcaSelectItems implements FormDataProviderInter * @param array $result Result array * @param string $fieldName Current handle field name * @param array $items Incoming items + * @param bool $includeFullRows @internal Hack for category tree to speed up tree processing, adding full db row as _row to item * @return array Modified item array * @throws \UnexpectedValueException */ - protected function addItemsFromForeignTable(array $result, $fieldName, array $items) + protected function addItemsFromForeignTable(array $result, $fieldName, array $items, bool $includeFullRows = false) { return $items; }