ContentObjectStdWrapHookInterface

interface for classes which hook into \TYPO3\CMS\Frontend\ContentObject and do additional stdWrap processing

Deprecated

not in use anymore since TYPO3 v13, will be removed in TYPO3 14. Only stays to allow extensions to be compatible with TYPO3 v12 + v13.

Table of Contents

Methods

stdWrapOverride()  : string
Hook for modifying $content after core's stdWrap has processed setContentToCurrent, setCurrent, lang, data, field, current, cObject, numRows, filelist and/or preUserFunc
stdWrapPostProcess()  : string
Hook for modifying $content after core's stdWrap has processed anything but debug
stdWrapPreProcess()  : string
Hook for modifying $content before core's stdWrap does anything
stdWrapProcess()  : string
Hook for modifying $content after core's stdWrap has processed override, preIfEmptyListNum, ifEmpty, ifBlank, listNum, trim and/or more (nested) stdWraps

Methods

stdWrapOverride()

Hook for modifying $content after core's stdWrap has processed setContentToCurrent, setCurrent, lang, data, field, current, cObject, numRows, filelist and/or preUserFunc

public stdWrapOverride(string $content, array<string|int, mixed> $configuration, ContentObjectRenderer &$parentObject) : string
Parameters
$content : string

Input value undergoing processing in this function. Possibly substituted by other values fetched from another source.

$configuration : array<string|int, mixed>

TypoScript stdWrap properties

$parentObject : ContentObjectRenderer

Parent content object

Return values
string

Further processed $content

stdWrapPostProcess()

Hook for modifying $content after core's stdWrap has processed anything but debug

public stdWrapPostProcess(string $content, array<string|int, mixed> $configuration, ContentObjectRenderer &$parentObject) : string
Parameters
$content : string

Input value undergoing processing in this function. Possibly substituted by other values fetched from another source.

$configuration : array<string|int, mixed>

TypoScript stdWrap properties

$parentObject : ContentObjectRenderer

Parent content object

Return values
string

Further processed $content

stdWrapPreProcess()

Hook for modifying $content before core's stdWrap does anything

public stdWrapPreProcess(string $content, array<string|int, mixed> $configuration, ContentObjectRenderer &$parentObject) : string
Parameters
$content : string

Input value undergoing processing in this function. Possibly substituted by other values fetched from another source.

$configuration : array<string|int, mixed>

TypoScript stdWrap properties

$parentObject : ContentObjectRenderer

Parent content object

Return values
string

Further processed $content

stdWrapProcess()

Hook for modifying $content after core's stdWrap has processed override, preIfEmptyListNum, ifEmpty, ifBlank, listNum, trim and/or more (nested) stdWraps

public stdWrapProcess(string $content, array<string|int, mixed> $configuration, ContentObjectRenderer &$parentObject) : string
Parameters
$content : string

Input value undergoing processing in this function. Possibly substituted by other values fetched from another source.

$configuration : array<string|int, mixed>

TypoScript "stdWrap properties".

$parentObject : ContentObjectRenderer

Parent content object

Return values
string

Further processed $content


        
On this page

Search results