AfterPageTreeItemsPreparedEvent
final class \
Listeners to this event will be able to modify the prepared page tree items for the page tree
Table of Contents
Methods
- __construct() : mixed
- getItems() : array
- getRequest() : ServerRequestInterface|null
- getSearchQuery() : string|null
- setItems() : void
Methods
__construct()
public
__construct(ServerRequestInterface|null $request, string|null $searchQuery, array<int, array<string, mixed>> $items) : mixed
Parameters
- $request : ServerRequestInterface|null
- $searchQuery : string|null
- $items : array<int, array<string, mixed>>
getItems()
public
getItems() : array
Return values
arraygetRequest()
public
getRequest() : ServerRequestInterface|null
Return values
ServerRequestInterface|nullgetSearchQuery()
public
getSearchQuery() : string|null
Return values
string|nullsetItems()
public
setItems(array $items) : void
Parameters
- $items : array