[TASK] Switch UserStorageCapabilityService to a renderType 41/58141/4
authorChristian Kuhn <lolli@schwarzbu.ch>
Mon, 3 Sep 2018 14:16:34 +0000 (16:16 +0200)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Mon, 3 Sep 2018 18:52:15 +0000 (20:52 +0200)
commit0aa993e84f20ae39b8c7e286aeb8ff5bbf0b0a4f
treeb187943e7a49eb02ba07c4b840058eb515d77bd9
parent701a889a38025f588b96f5c1a57c9340036a2ba6
[TASK] Switch UserStorageCapabilityService to a renderType

Using a TCA type=user with a custom renderType is much more
elegant since the registered element can then fully access
$this->data and has control of node expansion and all the
other goodies that come with own renderType in comparison
to the shabby limited type=user with userFunc.
The patch switches the 'is_public' type=user userFunc to
a proper renderType and fixes the incomplete HTML of this
field along the way.
Note a type=check with own renderType is not possible in
this case since the config has no items array.

Resolves: #86109
Releases: master
Change-Id: I72507a4660fc64e5c2df60768564a788a4c38a05
Reviewed-on: https://review.typo3.org/58141
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
typo3/sysext/backend/Classes/Form/Element/CheckboxToggleElement.php
typo3/sysext/backend/Classes/Form/Element/UserSysFileStorageIsPublicElement.php [new file with mode: 0644]
typo3/sysext/backend/Classes/Form/NodeFactory.php
typo3/sysext/core/Classes/Resource/Service/UserStorageCapabilityService.php
typo3/sysext/core/Configuration/TCA/sys_file_storage.php
typo3/sysext/core/Documentation/Changelog/master/Deprecation-86109-ClassUserStorageCapabilityService.rst [new file with mode: 0644]
typo3/sysext/install/Configuration/ExtensionScanner/Php/ClassNameMatcher.php