Deprecation: #86439 - Mark several methods within TemplateService as internal

See Issue #86439


The following methods in TYPO3\CMS\Core\TypoScript\TemplateService have been marked as protected:

  • prependStaticExtra()
  • versionOL()
  • processIncludes()
  • mergeConstantsFromPageTSconfig()
  • flattenSetup()
  • substituteConstants()


Calling the methods in a public context will trigger a PHP E_USER_DEPRECATED error.

Affected Installations

TYPO3 installations with custom extensions working with the TemplateService class.


Avoid using the methods, and re-implement the functionality on your own, if necessary.