[BUGFIX] Reimplement pageTS support to selectTree 99/47799/2
authorStefan Busemann <stefan.busemann@in2code.de>
Fri, 4 Mar 2016 20:10:30 +0000 (21:10 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Tue, 19 Apr 2016 19:46:50 +0000 (21:46 +0200)
commita3ad40c46f762ae7db325885c0ef8cb2dd5b3a51
tree953062979e207698c212bf0ea499693e69e1b296
parent8ee424c89d237a347c63a4ce2159b26270e951c5
[BUGFIX] Reimplement pageTS support to selectTree

With TCA type=select and renderType=selectTree certain TCA
config options can be modified via pageTS. Those that influence
the data fetching are now properly handled within the data
provider that gathers the tree items.

Example:
    TCEFORM.pages.categories.config.treeConfig.rootUid = 2

Release: master, 7.6
Resolves: #72961
Change-Id: I6a452c1439b0fd1f59c23b764b35cc8e34de7aef
Reviewed-on: https://review.typo3.org/47799
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/backend/Classes/Form/Element/SelectTreeElement.php
typo3/sysext/backend/Classes/Form/FormDataProvider/TcaSelectTreeItems.php
typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaSelectTreeItemsTest.php