---
title: "Feature: #97816 - New AfterTemplatesHaveBeenDeterminedEvent"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:feature-97816-1664801053"
source: "Changelog/12.0/Feature-97816-NewAfterTemplatesHaveBeenDeterminedEvent.rst"
typo3-version: "12.0"
typo3-major: 12
type: "feature"
issue: 97816
forge: "https://forge.typo3.org/issues/97816"
tags: ["PHP-API", "TypoScript", "ext:core"]
rendered: "2026-10-01T16:39:42+00:00"
---

# Feature: #97816 - New AfterTemplatesHaveBeenDeterminedEvent {#feature-97816-1664801053}

See [forge#97816](https://forge.typo3.org/issues/97816)

## Description {#description}

With switching to the new TypoScript parser, hook
`$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['Core/TypoScript/TemplateService']['runThroughTemplatesPostProcessing']`
has been removed.

The new event `AfterTemplatesHaveBeenDeterminedEvent` can be used
to manipulate sys_template rows. The event receives the list of resolved
sys_template rows and the `ServerRequestInterface` and allows manipulating the
sys_template rows array.

## Impact {#impact}

The event is called in Backend EXT:tstemplate code, for example in the Template Analyzer,
and - more importantly - in the Frontend.

Extensions using the old hook that want to stay compatible with both core v11 and v12
can implement both.
