Deprecation: #97544 - Preview URI Generation related functionality in BackendUtility¶
With forge#91123 the
PreviewUriBuilder has been introduced.
To further streamline any preview URI generation code, the related
functionality has now been fully integrated into
along with two new PSR-14 events. Therefore, the previously used
BackendUtility::getPreviewUrl() method, as well as the related hook
has been deprecated.
Using the utility method or registering hooks will trigger a PHP
The extension scanner will detect usages.
All installations using the utility method or the hook in custom extensions.
Migrate any usage of
hook by using the new PSR-14 events.
BeforePagePreviewUriGeneratedEvent can be used as replacement for
preProcess() method, while the
can be used as replacement for the hooks'