---
title: "Breaking: #96526 - Removed hooks for modifying page module content"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:breaking-96526"
source: "Changelog/12.0/Breaking-96526-RemovedHooksForModifyingPageModuleContent.rst"
typo3-version: "12.0"
typo3-major: 12
type: "breaking"
issue: 96526
forge: "https://forge.typo3.org/issues/96526"
tags: ["Backend", "PHP-API", "FullyScanned", "ext:backend"]
rendered: "2026-10-08T12:25:00+00:00"
---

# Breaking: #96526 - Removed hooks for modifying page module content {#breaking-96526}

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

## Description {#description}

The previously available hooks to modify the header
`$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['cms/layout/db_layout.php']['drawHeaderHook']`
and footer `$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['cms/layout/db_layout.php']['drawFooterHook']`
content of the page module have been removed in favor of a new PSR-14
event `\TYPO3\CMS\Backend\Controller\Event\ModifyPageLayoutContentEvent`.

The public method `PageLayoutController->getModuleTemplate()` has been
removed as well, since it was only used for the removed hooks.

## Impact {#impact}

Registering any of the mentioned hooks does no longer have any
effect in TYPO3 v12.0+. The extension scanner will detect usages
as strong match.

The method `PageLayoutController->getModuleTemplate()` is no longer
available and will therefore lead to PHP errors when called from extension
code. The extension scanner will detect usages as weak match.

## Affected Installations {#affected-installations}

TYPO3 installations using one of the mentioned hooks or calling
`PageLayoutController->getModuleTemplate()` in custom extension
code.

## Migration {#migration}

Replace the hooks with the new PSR-14
[ModifyPageLayoutContentEvent](https://docs.typo3.org/permalink/changelog:feature-96526) event.
