TYPO3 CMS  TYPO3_7-6
TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuFilterPagesHookInterface Interface Reference

Public Member Functions

 processFilter (array &$data, array $banUidArray, $spacer, AbstractMenuContentObject $obj)
 

Detailed Description

interface for classes which hook into AbstractMenuContentObject

Definition at line 20 of file AbstractMenuFilterPagesHookInterface.php.

Member Function Documentation

◆ processFilter()

TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuFilterPagesHookInterface::processFilter ( array &  $data,
array  $banUidArray,
  $spacer,
AbstractMenuContentObject  $obj 
)

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

Parameters
array$dataArray of menu items
array$banUidArrayArray of page uids which are to be excluded
bool$spacerIf set, then the page is a spacer.
\TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject$objThe menu object
Returns
bool Returns TRUE if the page can be safely included.