AbstractMenuFilterPagesHookInterface
interface \
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 &$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.