[TASK] Use ServerRequestInterface in ContentElement/ElementInformationController
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Documentation / Changelog / master / Deprecation-84284-ProtectedMethodsAndPropertiesInContentElementElementInformationController.rst
1 .. include:: ../../Includes.txt
2
3 =====================================================================================================
4 Deprecation: #84284 - Protected methods and properties in ContentElement/ElementInformationController
5 =====================================================================================================
6
7 See :issue:`84284`
8
9 Description
10 ===========
11
12 This file is about third party usage (consumer that call the class as well as
13 signals or hooks depending on it) of :php:`TYPO3\CMS\Backend\Controller\ContentElement\ElementInformationController`.
14
15 A series of class properties has been set to protected.
16 They will throw deprecation warnings if called public from outside:
17
18 * [not scanned] :php:`table`
19 * [not scanned] :php:`uid`
20 * :php:`access`
21 * [not scanned] :php:`type`
22 * :php:`pageInfo`
23
24 All methods not used as entry points by :php:`TYPO3\CMS\Backend\Http\RouteDispatcher` will be
25 removed or set to protected in v10 and throw deprecation warnings if used from a third party:
26
27 * [not scanned] :php:`init()`
28 * [not scanned] :php:`main()`
29 * :php:`getLabelForTableColumn()`
30
31
32 Impact
33 ======
34
35 Calling one of the above methods or accessing one of the above properties on an instance of
36 :php:`ElementInformationController` will throw a deprecation warning in v9 and a PHP fatal in v10.
37
38
39 Affected Installations
40 ======================
41
42 In general all extensions
43 that set properties or call methods except :php:`mainAction()` are affected.
44
45
46 Migration
47 =========
48
49 In general, extensions should not instantiate and re-use controllers of the core. Existing
50 usages should be rewritten to be free of calls like these.
51
52 Since some of the deprecated methods and properties have quite common names and would produce false positives, their usage is not detected by the extension scanner.
53
54 .. index:: Backend, PHP-API, PartiallyScanned, ext:backend