Deprecation: #54152 - Deprecate arguments of BackendUtility::getPagesTSconfig
See forge#54152
Description
Backend allowed the following arguments:
$id: This argument was and still is required. It's the id of the page the TSconfig is fetched for$root: This argument was optional and allowed to use that method with a custom rootline. That argument is deprecated now.Line $return: This argument was optional and allowed to return the TSconfig non parsed. That argument is deprecated now.Part Array
Impact
Calling
Backend with $rootline and/or $return being different than their
default value, will write a deprecation log entry and will stop working in TYPO3 v10.
Affected Installations
All installations that call
Backend with
$rootline and/or
$return being
different than their default value.
Migration
Calling
Backend with just the
id argument still behaves the way it does.
It's the most common use case and there's no migraton needed.
If you called
Backend with
$return being
true in the past,
you should now call Backend. You will get the non parsed TSconfig, just like before.
If you called
Backend providing a custom rootline via
$rootline in the past,
you should now call
Backend with your custom rootline
and parse the returned TSconfig yourself, just like
Backend does.