AbstractMenuFilterPagesHookInterface

interface for classes which hook into AbstractMenuContentObject

Deprecated

in favor of FilterMenuItemsEvent - not in use anymore, and only available for compatibility reasons, will be removed in TYPO3 v13.0

Table of Contents

Methods

processFilter()  : bool
Checks if a page is OK to include in the final menu item array.

Methods

processFilter()

Checks if a page is OK to include in the final menu item array.

public processFilter(array<string|int, mixed> &$data, array<string|int, mixed> $banUidArray, bool $spacer, AbstractMenuContentObject $obj) : bool
Parameters
$data : array<string|int, mixed>

Array of menu items

$banUidArray : array<string|int, mixed>

Array of page uids which are to be excluded

$spacer : bool

If set, then the page is a spacer.

$obj : AbstractMenuContentObject

The menu object

Return values
bool

Returns TRUE if the page can be safely included.


        
On this page

Search results