Deprecation: #84375 - Protected methods and properties in PageLayoutController

See Issue #84375

Description

Some methods in the TYPO3\CMS\Backend\Controller\PageLayoutController have been marked as deprecated and will be removed in TYPO3 v10:

  • [not scanned] init()
  • [not scanned] main()
  • [not scanned] menuConfig()
  • [not scanned] renderContent()
  • [not scanned] clearCache()
  • [not scanned] getModuleTemplate()
  • getLocalizedPageTitle()
  • getNumberOfHiddenElements()
  • local_linkThisScript()
  • pageIsNotLockedForEditors()
  • contentIsNotLockedForEditors()

Likewise some properties have been marked as deprecated:

  • [not scanned] pointer
  • [not scanned] imagemode
  • [not scanned] search_field
  • [not scanned] search_levels
  • [not scanned] showLimit
  • [not scanned] returnUrl
  • [not scanned] clear_cache
  • popView
  • [not scanned] perms_clause
  • [not scanned] modTSconfig
  • modSharedTSconfig
  • [not scanned] descrTable
  • colPosList
  • EDIT_CONTENT
  • CALC_PERMS
  • current_sys_language
  • MCONF
  • MOD_MENU
  • [not scanned] content
  • activeColPosList

Impact

Accessing the properties or calling the methods will trigger a PHP E_USER_DEPRECATED error.

Affected Installations

Third party code which accesses the properties directly or calls the methods.

Migration

In general, extensions should not instantiate and re-use controllers of the core. Existing usages should be rewritten to be free of calls like these.