‪TYPO3CMS  9.5
TYPO3\CMS\Backend\View\PageLayoutViewDrawItemHookInterface Interface Reference
Inheritance diagram for TYPO3\CMS\Backend\View\PageLayoutViewDrawItemHookInterface:
TYPO3\CMS\Felogin\Hooks\CmsLayout TYPO3\CMS\Form\Hooks\FormPagePreviewRenderer TYPO3\CMS\Frontend\Hooks\PageLayoutView\ImagePreviewRenderer TYPO3\CMS\Frontend\Hooks\PageLayoutView\TextmediaPreviewRenderer TYPO3\CMS\Frontend\Hooks\PageLayoutView\TextpicPreviewRenderer TYPO3\CMS\Frontend\Hooks\PageLayoutView\TextPreviewRenderer

Public Member Functions

 preProcess (\TYPO3\CMS\Backend\View\PageLayoutView &$parentObject, &$drawItem, &$headerContent, &$itemContent, array &$row)
 

Detailed Description

Interface for classes which hook into PageLayoutView and do additional tt_content_drawItem processing.

Definition at line 21 of file PageLayoutViewDrawItemHookInterface.php.

Member Function Documentation

◆ preProcess()

TYPO3\CMS\Backend\View\PageLayoutViewDrawItemHookInterface::preProcess ( \TYPO3\CMS\Backend\View\PageLayoutView $parentObject,
$drawItem,
$headerContent,
$itemContent,
array &  $row 
)

Preprocesses the preview rendering of a content element.

Parameters
\TYPO3\CMS\Backend\View\PageLayoutView$parentObject‪Calling parent object
bool$drawItem‪Whether to draw the item using the default functionalities
string$headerContent‪Header content
string$itemContent‪Item content
array$row‪Record row of tt_content

Implemented in TYPO3\CMS\Frontend\Hooks\PageLayoutView\ImagePreviewRenderer, TYPO3\CMS\Frontend\Hooks\PageLayoutView\TextpicPreviewRenderer, and TYPO3\CMS\Frontend\Hooks\PageLayoutView\TextPreviewRenderer.