[BUGFIX] Fix f:cObject documentation example 45/44745/2
authorJosef Glatz <josef.glatz@typo3.org>
Tue, 17 Nov 2015 09:26:45 +0000 (10:26 +0100)
committerMarkus Klein <markus.klein@typo3.org>
Tue, 17 Nov 2015 13:19:28 +0000 (14:19 +0100)
Fix current value example.

Releases: master, 6.2
Resolves: #71620
Change-Id: Ie82bab5a6767c664951c2e163a08015b5f7e3323
Reviewed-on: https://review.typo3.org/44745
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Reviewed-by: Alexander Grein <alexander.grein@gmail.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
typo3/sysext/fluid/Classes/ViewHelpers/CObjectViewHelper.php

index 411f335..899983c 100644 (file)
@@ -26,7 +26,7 @@ namespace TYPO3\CMS\Fluid\ViewHelpers;
  * </output>
  *
  * <code title="Specify cObject data & current value">
- * <f:cObject typoscriptObjectPath="lib.customHeader" data="{article}" current="{article.title}" />
+ * <f:cObject typoscriptObjectPath="lib.customHeader" data="{article}" currentValueKey="title" />
  * </code>
  * <output>
  * rendered lib.customHeader. data and current value will be available in TypoScript