Deprecation: #91806 - BackendUtility viewOnClick

See Issue #91806

Description

Method BackendUtility::viewOnClick() is discouraged to be used due to its inline JavaScript and has been deprecated now.

Impact

Using the method will trigger a PHP E_USER_DEPRECATED error.

Affected Installations

Extensions calling this static method will be affected. The extension scanner will find usages as strong match.

Migration

The \TYPO3\CMS\Backend\Routing\PreviewUriBuilder should be used instead as described in Important: #91123 - Avoid using BackendUtility::viewOnClick.