[FOLLOWUP][TASK] Move arguments to initializeArguments() in PageRendererVH 90/49090/2
authorNicole Cordes <typo3@cordes.co>
Tue, 19 Jul 2016 11:23:12 +0000 (13:23 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Tue, 19 Jul 2016 17:20:58 +0000 (19:20 +0200)
This patch adds the parent::initializeArguments() call in own
implementation.

Resolves: #77130
Releases: master
Change-Id: Ie778b32b26cbede6a7a873b07e56374c198d6cd8
Reviewed-on: https://review.typo3.org/49090
Reviewed-by: Johannes Goslar <johannes.goslar@dkd.de>
Tested-by: Bamboo TYPO3com <info@typo3.com>
Reviewed-by: Steven Cardoso <steven.cardoso@dkd.de>
Tested-by: Steven Cardoso <steven.cardoso@dkd.de>
Reviewed-by: Jan Haffner <info@jan-haffner.de>
Tested-by: Jan Haffner <info@jan-haffner.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/fluid/Classes/ViewHelpers/Be/PageRendererViewHelper.php

index c6ac7c0..16adcd1 100644 (file)
@@ -51,11 +51,11 @@ class PageRendererViewHelper extends AbstractViewHelper
     /**
      * Initialize arguments.
      *
-     * @api
      * @throws \TYPO3Fluid\Fluid\Core\ViewHelper\Exception
      */
     public function initializeArguments()
     {
+        parent::initializeArguments();
         $this->registerArgument('pageTitle', 'string', 'title tag of the module. Not required by default, as BE modules are shown in a frame', false, '');
         $this->registerArgument('loadExtJs', 'bool', 'specifies whether to load ExtJS library. Defaults to FALSE', false, false);
         $this->registerArgument('loadExtJsTheme', 'bool', 'whether to load ExtJS "grey" theme. Defaults to FALSE', false, true);
@@ -70,8 +70,6 @@ class PageRendererViewHelper extends AbstractViewHelper
 
     /**
      * Render start page with \TYPO3\CMS\Backend\Template\DocumentTemplate and pageTitle
-     *
-     * @return void
      */
     public function render()
     {