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);
}
Updated by Christian Kuhn almost 2 years ago
- Status changed from New to Rejected
This was weird in v11 since the fluid based page module had a dependency to PageLayoutView as well. This was resolved in v12. I don't think we should still fiddle with this in v11.
Actions