Skip to content
Snippets Groups Projects
Commit e4ca3b91 authored by Benni Mack's avatar Benni Mack
Browse files

[TASK] Streamline typolink LinkResult

This change unifies the generation of the LinkResult
object in order to allow the generation of the LinkResult
for JSON output (EXT:headless) and HTML output,
by using the ->adapt() functionality within the typolink()
call.

The internal class (HtmlLinkResult), which was added
during v12 development, is removed in favor of the new
::adapt() method.

Resolves: #98657
Releases: main
Change-Id: I7dbed554eccac6fedf5433a7dc0793b99b07c85e
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/76166


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarOliver Hader <oliver.hader@typo3.org>
Tested-by: default avatarOliver Bartsch <bo@cedev.de>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarOliver Hader <oliver.hader@typo3.org>
Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
parent e981cfa3
Branches
Tags
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment