[TASK] Consolidate code duplications in form data groups 43/51443/3
authorArtus Kolanowski <artus@ionoi.net>
Wed, 25 Jan 2017 00:33:00 +0000 (01:33 +0100)
committerBenni Mack <benni@typo3.org>
Fri, 27 Jan 2017 13:47:51 +0000 (14:47 +0100)
commitf37a28db9020004052971fd0a0b97262086886b3
treeaf9cec8016d0b41466dcc62595989d265b603e35
parent728afa52280d88d55a67bd821d20db33cf525ac2
[TASK] Consolidate code duplications in form data groups

Introduce a new class `OrderedProviderList` which calls providers
with dependencies given by setter.

Resolves: #79512
Releases: master
Change-Id: Icf97e2e6fa5ed88d7b76b7628bb4e9790b615a38
Reviewed-on: https://review.typo3.org/51443
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/backend/Classes/Form/FormDataGroup/FlexFormSegment.php
typo3/sysext/backend/Classes/Form/FormDataGroup/InlineParentRecord.php
typo3/sysext/backend/Classes/Form/FormDataGroup/OrderedProviderList.php [new file with mode: 0644]
typo3/sysext/backend/Classes/Form/FormDataGroup/TcaDatabaseRecord.php
typo3/sysext/backend/Classes/Form/FormDataGroup/TcaInputPlaceholderRecord.php
typo3/sysext/backend/Tests/Unit/Form/FormDataGroup/FlexFormSegmentTest.php
typo3/sysext/backend/Tests/Unit/Form/FormDataGroup/InlineParentRecordTest.php
typo3/sysext/backend/Tests/Unit/Form/FormDataGroup/OrderedProviderListTest.php [new file with mode: 0644]
typo3/sysext/backend/Tests/Unit/Form/FormDataGroup/TcaDatabaseRecordTest.php
typo3/sysext/backend/Tests/Unit/Form/FormDataGroup/TcaInputPlaceholderRecordTest.php