---
title: "Deprecation: #85701 - Various methods in ModuleTemplate"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:deprecation-85701"
source: "Changelog/9.4/Deprecation-85701-MethodsInModuleTemplate.rst"
typo3-version: "9.4"
typo3-major: 9
type: "deprecation"
issue: 85701
forge: "https://forge.typo3.org/issues/85701"
tags: ["Backend", "FullyScanned"]
rendered: "2026-09-20T18:31:11+00:00"
---

# Deprecation: #85701 - Various methods in ModuleTemplate {#deprecation-85701}

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

## Description {#description}

The methods `ModuleTemplate::icons()` and `ModuleTemplate::loadJavascriptLib()`
have been marked as deprecated and will be removed in  TYPO3 v10.

## Impact {#impact}

Calling one of the mentioned methods will trigger a PHP `E_USER_DEPRECATED` error.

## Affected Installations {#affected-installations}

Third party code which calls the methods mentioned.

## Migration {#migration}

There is no migration for the method `ModuleTemplate::icons()` available.
The method `ModuleTemplate::loadJavascriptLib()` can be replaced by using `PageRenderer` directly.
