Deprecation: #97544 - Preview URI Generation related functionality in BackendUtility
See forge#97544
Description
With forge#91123 the
Preview
has been introduced.
To further streamline any preview URI generation code, the related
functionality has now been fully integrated into
Preview
along with two new PSR-14 events. Therefore, the previously used
Backend
method, as well as the related hook
$GLOBALS
,
has been deprecated.
Impact
Using the utility method or registering hooks will trigger a PHP
E_
error.
The extension scanner will detect usages.
Affected installations
All installations using the utility method or the hook in custom extensions.
Migration
Migrate any usage of
Backend
to
Preview
.
Replace any
$GLOBALS
hook by using the new PSR-14 events.
The
Before
can be used as replacement for
the hooks'
pre
method, while the
After
can be used as replacement for the hooks'
post
method.