TYPO3 v15 dev-main snapshot ()

This commit is contained in:
2026-08-10 22:31:09 +02:00
commit af8cc155b5
6818 changed files with 642608 additions and 0 deletions
@@ -0,0 +1,48 @@
.. include:: /Includes.rst.txt
.. _feature-90026:
=====================================================================
Feature: #90026 - Expose internal typoLinkParts in TypolinkViewHelper
=====================================================================
See :issue:`90026`
Description
===========
Parameters being generated internally by TypoLink using
:html:`<f:link.typolink parts-as="typoLinkParts">` view helper are exposed as
variable and can be used in Fluid templates.
View helper attribute :html:`parts-as` (default :html:`typoLinkParts`) allows to define the
variable name to be used containing the following internal parts:
* url
* target
* class
* title
* additionalParams
Details for these internal parts are documented for :typoscript:`typolink.parameter`
in `TypoScript reference`_
.. _TypoScript reference: https://docs.typo3.org/m/typo3/reference-typoscript/main/en-us/Functions/Typolink.html?highlight=typolink#parameter
Impact
======
Multiple instructions for attribute :html:`parameter` (e.g. persisted to entity
record) can be used individually.
.. code-block:: html
<f:link.typolink parameter="123 _top news title" parts-as="parts">
{parts.url}
{parts.target}
{parts.class}
{parts.title}
{parts.additionalParams}
</f:link.typolink>
.. index:: Fluid, Frontend, ext:fluid