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<string|int, mixed> &$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<string|int, mixed>
-
Record row of tt_content