[BUGFIX] Reimplement pageTS support to selectTree 83/47083/6
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:44:46 +0000 (21:44 +0200)
commit6ccd5a0b0d62a9334a7a909fb58c69558e5a7a5c
tree513765085debf71dfc3356b28cc905e3e51d8a17
parent7a2c44a7db1f43337e6f1e935bc6c938a3bcebbf
[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/47083
Reviewed-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
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