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<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.