[FOLLOWUP][TASK] Move arguments to initializeArguments() in TableListVH 94/49094/2
authorSteven Cardoso <steven.cardoso@dkd.de>
Tue, 19 Jul 2016 11:43:15 +0000 (13:43 +0200)
committerNicole Cordes <typo3@cordes.co>
Tue, 19 Jul 2016 11:58:06 +0000 (13:58 +0200)
This patch adds the parent::initializeArguments() call in own
implementation.

Resolves: #77129
Releases: master
Change-Id: I600d5c89c172d831af8d04eb8090c4f8f5757242
Reviewed-on: https://review.typo3.org/49094
Reviewed-by: Arthur Rehm <arthur.rehm@gmail.com>
Tested-by: Arthur Rehm <arthur.rehm@gmail.com>
Tested-by: Bamboo TYPO3com <info@typo3.com>
Reviewed-by: Markus Friedrich <markus.friedrich@dkd.de>
Reviewed-by: Johannes Bernhard Goslar <johannes.goslar@dkd.de>
Tested-by: Johannes Bernhard Goslar <johannes.goslar@dkd.de>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
typo3/sysext/fluid/Classes/ViewHelpers/Be/TableListViewHelper.php

index 9da4312..76cf80e 100644 (file)
@@ -66,11 +66,11 @@ class TableListViewHelper extends \TYPO3\CMS\Fluid\ViewHelpers\Be\AbstractBacken
     /**
      * Initialize arguments.
      *
-     * @api
      * @throws \TYPO3Fluid\Fluid\Core\ViewHelper\Exception
      */
     public function initializeArguments()
     {
+        parent::initializeArguments();
         $this->registerArgument('tableName', 'string', 'name of the database table', true);
         $this->registerArgument('fieldList', 'array', 'list of fields to be displayed. If empty, only the title column (configured in $TCA[$tableName][\'ctrl\'][\'title\']) is shown', false, array());
         $this->registerArgument('storagePid', 'int', 'by default, records are fetched from the storage PID configured in persistence.storagePid. With this argument, the storage PID can be overwritten');