AbstractMenuFilterPagesHookInterface

interface \TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuFilterPagesHookInterface

interface for classes which hook into AbstractMenuContentObject

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 &$data, array $banUidArray, bool $spacer, AbstractMenuContentObject $obj) : bool

Parameters

$data : array

Array of menu items

$banUidArray : array

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