Deprecation: #90686 - Deprecate model FileMount

See Issue #90686

Description

The class \TYPO3\CMS\Extbase\Domain\Model\FileMount has been marked as deprecated.

The FileMount is an internal class which never really had any functionality besides being an Extbase model for the database table sys_filemounts. Therefore and in order to streamline the codebase of Extbase, the FileMount will be removed with TYPO3 11.0.

Impact

Using FileMount will trigger a PHP deprecation warning.

Affected Installations

Any TYPO3 installation with a third-party extension using the model.

Migration

Copy the class and mapping to your own extension and adopt the usages.