RenderAdditionalContentToRecordListEvent¶
New in version 11.0: This event supersedes the hooks
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['recordlist/Modules/Recordlist/index.php']['drawHeaderHook']
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['recordlist/Modules/Recordlist/index.php']['drawFooterHook']
The hooks are removed in TYPO3 v12.
Event to add content before or after the main content of the list module.
API¶
- class TYPO3\CMS\Recordlist\Event\RenderAdditionalContentToRecordListEvent¶
Class AddToRecordListEvent
Add content above or below the main content of the record list
- getRequest()¶
- Return type
Psr\Http\Message\ServerRequestInterface
- addContentAbove(string $contentAbove)¶
- Parameters
$contentAbove (
string
) -- the contentAbove
- addContentBelow(string $contentBelow)¶
- Parameters
$contentBelow (
string
) -- the contentBelow
- getAdditionalContentAbove()¶
- Return type
string
- getAdditionalContentBelow()¶
- Return type
string