[TASK] FormEngine: Move ElementConditionMatcher into data provider 18/43418/5
authorMorton Jonuschat <m.jonuschat@mojocode.de>
Tue, 15 Sep 2015 16:48:47 +0000 (18:48 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Sat, 19 Sep 2015 15:32:29 +0000 (17:32 +0200)
commit963e225aa43bb3ae903f66253782e01c7be7d8fa
tree5961ca14754e998fa69179bdef27705a3b4ffc8e
parent2ef9e011a7f7dbef380e2d5429deb06f597ce1dd
[TASK] FormEngine: Move ElementConditionMatcher into data provider

Move the handling of column and flexform display conditions into a
dedicated form data provider. The provider removes the hidden elements
from the processed Tca so that no handling of the display conditions is
required in the rendering part of FormEngine.

Resolves: #69938
Resolves: #69897
Releases: master
Change-Id: I367740f61d1a14ba57c57eca30a2edf26ed0f272
Reviewed-on: http://review.typo3.org/43418
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/backend/Classes/Form/Container/AbstractContainer.php
typo3/sysext/backend/Classes/Form/Container/FlexFormElementContainer.php
typo3/sysext/backend/Classes/Form/Container/FlexFormNoTabsContainer.php
typo3/sysext/backend/Classes/Form/Container/FlexFormTabsContainer.php
typo3/sysext/backend/Classes/Form/Container/SingleFieldContainer.php
typo3/sysext/backend/Classes/Form/ElementConditionMatcher.php [deleted file]
typo3/sysext/backend/Classes/Form/FormDataProvider/EvaluateDisplayConditions.php [new file with mode: 0644]
typo3/sysext/backend/Tests/Unit/Form/ElementConditionMatcherTest.php [deleted file]
typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/EvaluateDisplayConditionsTest.php [new file with mode: 0644]
typo3/sysext/core/Configuration/DefaultConfiguration.php
typo3/sysext/core/Documentation/Changelog/master/Deprecation-69938-HIDE_L10N_SIBLINGSFlexFormdisplayCond.rst [new file with mode: 0644]