Project

General

Profile

Actions

Bug #84684

closed

Wrong annotation in PageLayoutViewDrawFooterHookInterface

Added by Sven Burkert over 6 years ago. Updated over 6 years ago.

Status:
Rejected
Priority:
Must have
Assignee:
-
Category:
-
Target version:
-
Start date:
2018-04-10
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
no-brainer
Is Regression:
Sprint Focus:

Description

The parameter $info is not a string but an array:

/**
 * Interface for classes which hook into PageLayoutView and do additional
 * tt_content_drawFooter processing.
 */
interface PageLayoutViewDrawFooterHookInterface
{
    /**
     * Preprocesses the preview footer rendering of a content element.
     *
     * @param \TYPO3\CMS\Backend\View\PageLayoutView $parentObject Calling parent object
     * @param string $info Processed values
     * @param array $row Record row of tt_content
     */
    public function preProcess(\TYPO3\CMS\Backend\View\PageLayoutView &$parentObject, &$info, array &$row);

See function "tt_content_drawFooter", if you want an example of $info and how function "preProcess" is called.


Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #84636: Wrong type hint in PageLayoutViewDrawFooterHookInterfaceClosedJ W2018-04-06

Actions
Actions #2

Updated by Georg Ringer over 6 years ago

  • Status changed from New to Rejected

duplicate of #84636

Actions #3

Updated by Georg Ringer over 6 years ago

  • Is duplicate of Bug #84636: Wrong type hint in PageLayoutViewDrawFooterHookInterface added
Actions

Also available in: Atom PDF