Actions
Bug #99478
closedPageLayoutViewDrawFooterHookInterface uses deprecated PageLayoutView
Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
Code Cleanup
Target version:
-
Start date:
2023-01-06
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
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);
}
Actions