---
title: "Events to modify link handler"
manual: "TYPO3 Explained"
version: "main"
permalink: "https://docs.typo3.org/permalink/t3coreapi:modifylinkhandlers@main"
source: "ApiOverview/LinkHandling/Linkhandler/Events.rst"
rendered: "2026-09-24T12:36:55+00:00"
---

# Events to modify link handler {#modifylinkhandlers}

You may have to modify the list of available link handlers based on
some dynamic value:

-   [ModifyAllowedItemsEvent](https://docs.typo3.org/permalink/t3coreapi:modifyalloweditemsevent@main)
-   [ModifyLinkHandlersEvent](https://docs.typo3.org/permalink/t3coreapi:modifylinkhandlersevent@main)

Another event allows you to resolve custom link types, but also to modify the
link result data of existing link handlers:

-   [AfterLinkResolvedByStringRepresentationEvent](https://docs.typo3.org/permalink/t3coreapi:afterlinkresolvedbystringrepresentationevent@main)

If you want to be compatible to both TYPO3 v13 and v12, you can keep your
implementation of the
`$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['Link']['resolveByStringRepresentation']`
and implement the event listener at the same time. Remove the hook
implementation when dropping TYPO3 v12 support.
