---
title: "Deprecation: #96641 - Link-related functionality in ContentObjectRenderer"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:deprecation-96641-2"
source: "Changelog/12.0/Deprecation-96641-LinkRelatedFunctionalityInContentObjectRenderer.rst"
typo3-version: "12.0"
typo3-major: 12
type: "deprecation"
issue: 96641
forge: "https://forge.typo3.org/issues/96641"
tags: ["Frontend", "PHP-API", "FullyScanned", "ext:frontend"]
rendered: "2026-09-23T19:53:57+00:00"
---

# Deprecation: #96641 - Link-related functionality in ContentObjectRenderer {#deprecation-96641-2}

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

## Description {#description}

Various methods related to shorthand syntax of generating
links and URLs have been marked as deprecated:

-   `ContentObjectRenderer->getATagParams()`
-   `ContentObjectRenderer->getTypoLink()`
-   `ContentObjectRenderer->getUrlToCurrentLocation()`
-   `ContentObjectRenderer->getTypoLink_URL()`

They are related to functionality for generating URLs,
and have been marked as deprecated in favor of the new LinkFactory
API, and the existing `$cObj->typoLink()` and `$cObj->typoLink_URL()`
methods.

## Impact {#impact}

Calling these methods in your own PHP code will trigger PHP `E_USER_DEPRECATED` errors.

## Affected Installations {#affected-installations}

TYPO3 installations with custom extensions using these methods for
generating links. The extension scanner in the Upgrade module / Install tool
will show affected occurrences.

## Migration {#migration}

It is recommended to use either existing API calls:

-   `ContentObjectRenderer->typoLink()`
-   `ContentObjectRenderer->typoLink_URL()`

or the new methods for code that should be compatible with TYPO3 v12+ - only:

-   `ContentObjectRenderer->createUrl()`
-   `ContentObjectRenderer->createLink()`

or calling the LinkFactory API directly.
