[TASK] Use makeInstance in some hooks
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Documentation / Changelog / master / Breaking-67749-ForceAutoloadingForVariousHooks.rst
1 =============================================================
2 Breaking: #67749 - Force class auto loading for various hooks
3 =============================================================
4
5 Description
6 ===========
7
8 Some hook registrations now rely on class auto loading.
9
10
11 Impact
12 ======
13
14 Hooks may not be called any longer if class auto loader can not find the class.
15
16
17 Affected Installations
18 ======================
19
20 Instances using
21
22 .. code-block:: php
23
24 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tce']['formevals']
25 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['setup']['accessLevelCheck']
26
27
28 Migration
29 =========
30
31 Make sure the hook classes are found with the casual auto loading mechanism
32 that is also used for all other PHP classes. The hook registration can be
33 simplified to an empty value, example:
34
35 .. code-block:: php
36
37 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tce']['formevals'][\TYPO3\CMS\Saltedpasswords\Evaluation\FrontendEvaluator::class] = '';
38