Feature #81623

Create a Hook for Linkhandling

Added by José Ricardo about 2 years ago. Updated 16 days ago.

Should have
Link Handling, Site Handling & Routing
Target version:
Start date:
Due date:
% Done:


PHP Version:
Sprint Focus:


The new TYPO3 8 core Linkhandler functionality works just fine, but a hook would be useful to allow extension developers to handle some parameters before the typolink be generated. This functionality was provided by some of the old Linkhandler extensions and for those who used it on previously versions, the absence of the hook could lead to configuration problems.

I attached a patch file that modifies \TYPO3\CMS\Frontend\Typolink\DatabaseRecordLinkBuilder->build to create the hook. Please tell me what you think about it.

DatabaseRecordLinkBuilder.patch View (986 Bytes) José Ricardo, 2017-06-20 00:29

Related issues

Related to TYPO3 Core - Story #46140: Add configurable linkhandler for arbitrary records Closed 2015-04-10 2015-04-11
Related to TYPO3 Core - Feature #79626: Integrate linkhandler into core Closed 2017-02-04
Related to TYPO3 Core - Epic #88027: Properly handle Hooks/Signals and Events In Progress 2019-03-28


#1 Updated by José Ricardo about 2 years ago

  • Related to Story #46140: Add configurable linkhandler for arbitrary records added

#2 Updated by José Ricardo about 2 years ago

  • Description updated (diff)

#3 Updated by José Ricardo about 2 years ago

#4 Updated by Sybille Peters over 1 year ago

Thank you for your report.

Even though it has been some time, would you consider checking if your patch idea is still up to date and upload it to our Gerrit review server?

Someone could do this for you, but I am thinking you might like the opportunity to contribute to TYPO3 yourself.

You can find a description of the TYPO3 contribution workflow here: https://docs.typo3.org/typo3cms/ContributionWorkflowGuide/

Hint: If you get stuck anywhere, ask on Slack in the #typo3-cms-coredev channel. You can register in the TYPO3 slack workspace here: https://forger.typo3.com/slack

Thank you in advance!

#5 Updated by Benni Mack 5 months ago

  • Related to Epic #88027: Properly handle Hooks/Signals and Events added

#6 Updated by Benni Mack 4 months ago

  • Status changed from New to Needs Feedback

Hi Jose,

the idea of the functionality for LinkHandling / LinkService is that you can extend it with your own format completely without having to deal with the DatabaseRecordLinkBuilder at all. Can you check if you still need a hook in this very specific location?

#7 Updated by Riccardo De Contardi 16 days ago

  • Status changed from Needs Feedback to Closed

No feedback since the last 90 days => closing this issue.

If you think that this is the wrong decision, please reopen it or ping me.

Thank you and best regards

Also available in: Atom PDF