‪TYPO3CMS  ‪main
TYPO3\CMS\Backend\Controller\Event\AfterPageTreeItemsPreparedEvent Class Reference

Public Member Functions

 __construct (private readonly ServerRequestInterface $request, private array $items)
 
 getRequest ()
 
 getItems ()
 
 setItems (array $items)
 

Detailed Description

Listeners to this event will be able to modify the prepared page tree items for the page tree

Definition at line 25 of file AfterPageTreeItemsPreparedEvent.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Backend\Controller\Event\AfterPageTreeItemsPreparedEvent::__construct ( private readonly ServerRequestInterface  $request,
private array  $items 
)
Parameters
array<int,array<string,mixed>>‪$items

Definition at line 30 of file AfterPageTreeItemsPreparedEvent.php.

Member Function Documentation

◆ getItems()

TYPO3\CMS\Backend\Controller\Event\AfterPageTreeItemsPreparedEvent::getItems ( )

◆ getRequest()

TYPO3\CMS\Backend\Controller\Event\AfterPageTreeItemsPreparedEvent::getRequest ( )

Definition at line 35 of file AfterPageTreeItemsPreparedEvent.php.

◆ setItems()

TYPO3\CMS\Backend\Controller\Event\AfterPageTreeItemsPreparedEvent::setItems ( array  $items)