[TASK] Move getFieldDefaultValue to FORM cObject 49/36149/3
authorBenjamin Mack <benni@typo3.org>
Tue, 20 Jan 2015 21:26:31 +0000 (22:26 +0100)
committerMarkus Klein <klein.t3@reelworx.at>
Tue, 20 Jan 2015 22:52:01 +0000 (23:52 +0100)
commitf5ebbe783fbddba5b71c2d3c4d61cabd68d5327c
tree76926568473bbf562c5f086d424e51d57fec3383
parent72afe6048e1dd686fa12fe11ad0e0b792222a861
[TASK] Move getFieldDefaultValue to FORM cObject

The method getFieldDefaultValue() inside
ContentObjectRenderer is part of the FORM
content object and is called there.
Thus, it is moved to the FormContentObject
class as a protected method. All calls to this
method are changed accordingly.

As the function is marked for private access,
it is moved without any further documentation
or deprecation.

Resolves: #64391
Releases: master
Change-Id: Ib99503973412b34e31eac976117b6d707f5b1577
Reviewed-on: http://review.typo3.org/36149
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php
typo3/sysext/frontend/Classes/ContentObject/FormContentObject.php