Deprecation: #92508 - Unused Interface for filterMenuPages hook

See Issue #92508

Description

The hook $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['cms/tslib/class.tslib_menu.php']['filterMenuPages'] required hook implementations to implement AbstractMenuFilterPagesHookInterface.

Since the mentioned hook is removed, the interface is not in use anymore and has been marked as deprecated.

Impact

The extension scanner will now notify any extension, which might still use the PHP interface.

Affected Installations

TYPO3 installations using the PHP interface in custom extension code.

Migration

The PHP interface is still available for TYPO3 v12.x, so extensions can provide a version which is compatible with TYPO3 v11 (using the hook) and TYPO3 v12.x (using the new Event), at the same time.

Remove any usage of the PHP interface and use the new PSR-14 Event to avoid any further problems in TYPO3 v13+.