Deprecation-90348-PageLayoutViewClass.rst 1.44 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
.. include:: ../../Includes.txt

==========================================
Deprecation: #90348 - PageLayoutView class
==========================================

See :issue:`90348`

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

The :php:`PageLayoutView` class, which is considered internal API, has been marked as deprecated in favor
of the new Fluid-based alternative which renders the "page" BE module.


Impact
======

Implementations which depend on :php:`PageLayoutView` should prepare to use the alternative implementation (by overlaying and overriding Fluid templates of EXT:backend).


Affected Installations
======================

* Any site which overrides the :php:`PageLayoutView` class. The overridden class will
  still be instantiated when rendering previews in BE page module - but no methods
  will be called on the instance **unless** they are called by a third party hook subscriber.
* Any site which depends on PSR-14 events associated with :php:`PageLayoutView` will only
  have those events dispatched if the :php:`fluidBasedPageModule` feature flag is :php:`false`.
  * Affects :php:`\TYPO3\CMS\Backend\View\Event\AfterSectionMarkupGeneratedEvent`.
  * Affects :php:`\TYPO3\CMS\Backend\View\Event\BeforeSectionMarkupGeneratedEvent`.


Migration
=========

Fluid templates can be extended or replaced to render custom header, footer or preview of
a given :ts:`CType`, see feature description for feature :issue:`90348`.

.. index:: Backend, Fluid, NotScanned, ext:backend