Deprecation: #85558 - ContentObjectRenderer->enableFields

See forge#85558

Description

The public method TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->enableFields() has been marked as deprecated.

Impact

Calling the method directly will trigger a PHP E_USER_DEPRECATED error.

Affected Installations

TYPO3 installations with custom extensions calling this method directly.

Migration

As enableFields() acts as a simple wrapper around PageRepository->enableFields(), it is recommended to instantiate PageRepository directly.