Deprecation: #86197 - Protected FileListController

See forge#86197

Description

The following properties of class TYPO3\CMS\Filelist\Controller\FileListController changed their visibility from public to protected and should not be called any longer:

  • MOD_MENU

  • MOD_SETTINGS

  • doc

  • id

  • pointer

  • table

  • imagemode

  • cmd

  • filelist

The following methods of class TYPO3\CMS\Filelist\Controller\FileListController changed their visibility from public to protected and should not be called any longer:

  • menuConfig()

  • initializeView()

  • initializeIndexAction()

  • indexAction()

  • missingFolderAction()

  • searchAction()

Also, TYPO3\CMS\Beuser\Controller\BackendUserController->initializeView() changed visibility from public to protected and should not be called any longer.

Additionally, first constructor argument $fileListController of class TYPO3\CMS\Filelist\FileList is now optional, class property $fileListController should not be used any longer in hooks of that class.

Impact

Calling one of the above properties or methods from a third party object will trigger a PHP E_USER_DEPRECATED error.

Affected Installations

Controllers of the core are usually not called by extensions directly, but only through core routing and dispatching mechanisms. Extensions are unlikely to be affected by this change.

Migration

No migration possible.