PageLayoutViewDrawItemHookInterface

interface \TYPO3\CMS\Backend\View\PageLayoutViewDrawItemHookInterface

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

Table of Contents

Methods

preProcess()  : mixed
Preprocesses the preview rendering of a content element.

Methods

preProcess()

Preprocesses the preview rendering of a content element.

public preProcess(PageLayoutView &$parentObject, bool &$drawItem, string &$headerContent, string &$itemContent, array &$row) : mixed

Parameters

$parentObject : PageLayoutView

Calling parent object

$drawItem : bool

Whether to draw the item using the default functionalities

$headerContent : string

Header content

$itemContent : string

Item content

$row : array

Record row of tt_content

On this page