[BUGFIX] Add link to "cleanup of AbstractRecordList breaks hook" documentation
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Documentation / Changelog / 9.2 / Deprecation-83740-CleanupOfAbstractRecordListBreaksHook.rst
1 .. include:: ../../Includes.txt
2
3 ===============================================================
4 Deprecation: #83740 - Cleanup of AbstractRecordList breaks hook
5 ===============================================================
6
7 See :issue:`83740`
8
9 Description
10 ===========
11
12 The hook `$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList']['buildQueryParameters']`
13 has been marked as deprecated. It was a hook to modify the current database query but used in multiple classes which
14 leads to some issues. For this reason, the old hook is now marked as deprecated and will be removed in v10.
15
16
17 Impact
18 ======
19
20 Registering a hook in `$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList']['buildQueryParameters']`
21 will trigger a deprecation warning.
22
23
24 Affected installations
25 ======================
26
27 Instances with extensions using the hook `$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList']['buildQueryParameters']`
28
29
30 Migration
31 =========
32
33 Two new hooks are available to achieve the same things.
34
35 Please see:
36
37 `Feature-83740-CleanupOfAbstractRecordListBreaksHook.rst <https://docs.typo3.org/typo3cms/extensions/core/Changelog/9.2/Feature-83740-CleanupOfAbstractRecordListBreaksHook.html>`_
38
39 .. index:: Backend, Database, PHP-API, FullyScanned