Breaking: #107473 - TypoScript condition function getTSFE() removed
See forge#107473
Description
The TypoScript condition function
get has been removed.
After various properties like
get were already removed
in TYPO3 v13, the remaining parts of this functionality have now been removed
in TYPO3 v14.
The most common remaining use was accessing the current page ID via
get, which can be replaced with
request..
Impact
Conditions using
get will no longer evaluate to true and
must be updated.
Affected installations
Instances with TypoScript conditions that use the function
get are affected.
Migration
Replace
get with an equivalent condition. For example:
Before:
[getTSFE() && getTSFE().id == 42]
Copied!
After:
[request?.getPageArguments()?.getPageId() == 42]
Copied!