Issue Bug Rejected

#99478PageLayoutViewDrawFooterHookInterface uses deprecated PageLayoutView

Sybille Peters 01/06/23, 10:28 updated 01/06/23, 10:34

Description

Should PageLayoutViewDrawFooterHookInterface be deprecated as well or changed?

The core should not used deprecated functionality (at least that used to be the case).

/**
 * Child class for the Web > Page module
 * @internal This class is a TYPO3 Backend implementation and is not considered part of the Public TYPO3 API.
 * @deprecated Will be removed in TYPO3 11
 */
class PageLayoutView implements LoggerAwareInterface
/**
 * 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 array $info Processed values
     * @param array $row Record row of tt_content
     */
    public function preProcess(PageLayoutView &$parentObject, &$info, array &$row);
}

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.