Breaking: #107473 - TypoScript condition function getTSFE() removed
See forge#107473
Description
The TypoScript condition function
get
has been removed.
After various properties like
get
have already been removed
in TYPO3 v13, last remains of this functionality have been removed with TYPO3 v14.
The most common remaining usage was accessing the current page id using
get
, which can be substituted by
request.
Impact
Using a condition like
get
will never evaluate to true
and needs adaption.
Affected installations
Instances with TypoScript conditions using function
get
are affected.
Migration
Adapt
get
to an alternative. Example:
# Before
[getTSFE() && getTSFE().id == 42]
# After
[request?.getPageArguments()?.getPageId() == 42]
Copied!