Deprecation-92508-UnusedInterfaceForFilterMenuPagesHook.rst 1.23 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
.. include:: ../../Includes.txt

===============================================================
Deprecation: #92508 - Unused Interface for filterMenuPages hook
===============================================================

See :issue:`92508`

Description
===========

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

Since the mentioned hook is :doc:`removed <../12.0/Breaking-92508-RemovedHookForFilteringHMENUItems.rst>`,
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+.

.. index:: Frontend, FullyScanned, ext:frontend