‪TYPO3CMS  9.5
TYPO3\CMS\Frontend\Hooks\PageLayoutView\TextpicPreviewRenderer Class Reference
Inheritance diagram for TYPO3\CMS\Frontend\Hooks\PageLayoutView\TextpicPreviewRenderer:
TYPO3\CMS\Backend\View\PageLayoutViewDrawItemHookInterface

Public Member Functions

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

Detailed Description

Contains a preview rendering for the page module of CType="textpic"

this is a concrete TYPO3 hook implementation and solely used for EXT:frontend and not part of TYPO3's Core API.

Definition at line 21 of file TextpicPreviewRenderer.php.

Member Function Documentation

◆ preProcess()

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

Preprocesses the preview rendering of the content element "textpic".

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

Implements TYPO3\CMS\Backend\View\PageLayoutViewDrawItemHookInterface.

Definition at line 32 of file TextpicPreviewRenderer.php.

References TYPO3\CMS\Backend\Utility\BackendUtility\resolveFileReferences().