Issue Bug Closed

#97807Extension scanner does not detect usage of \TYPO3\CMS\Backend\View\PageLayoutView in v10 / v11 etc.

Sybille Peters 06/24/22, 08:01 updated 01/06/23, 11:58

Description

The class \TYPO3\CMS\Backend\View\PageLayoutView was deprecated in v10 and still exists in v11 and v12 (although the docblock says it will be removed in v11).

The class is marked as @internal but may have been used, for example in a hook for page layout rendering, e.g.

  • $GLOBALS[‘TYPO3_CONF_VARS’][‘SC_OPTIONS’][‘cms/layout/class.tx_cms_layout.php’][‘tt_content_drawFooter’][]
  • $GLOBALS[‘TYPO3_CONF_VARS’][‘SC_OPTIONS’][‘cms/layout/class.tx_cms_layout.php’][‘tt_content_drawItem’]

e.g. if you have a class like

class SlideshowPreviewRenderer implements PageLayoutViewDrawItemHookInterface
{
    // ...

    public function preProcess(
        PageLayoutView &$parentObject,

Also, the deprecated class is used in felogin in TYPO3 v10 typo3/sysext/felogin/Classes/Hooks/CmsLayout.php

Related changelogs

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.