Skip to content

Commit

Permalink
[TASK] #98443 - Extension recordlist merged into backend (#601)
Browse files Browse the repository at this point in the history
  • Loading branch information
brotkrueml authored Sep 30, 2022
1 parent 7335384 commit 38378b2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
13 changes: 11 additions & 2 deletions Documentation/Functions/Typolink.rst
Original file line number Diff line number Diff line change
Expand Up @@ -726,7 +726,7 @@ Aspects `identifier` and `uid` are mandatory for this link handler.

:aspect:`Example`
The following reference relates to record `tx_myextension_content:123`. Tablename is retrieved
from Page TSconfig settings, actual link generation is defined in TypoScript configuration for
from page TSconfig settings, actual link generation is defined in TypoScript configuration for
identifier `my_content`.

`t3://record?identifier=my_content&uid=123`
Expand All @@ -735,14 +735,23 @@ Aspects `identifier` and `uid` are mandatory for this link handler.
:caption: Page TSconfig definition for identifier `my_content`
TCEMAIN.linkHandler.my_content {
handler = TYPO3\CMS\Recordlist\LinkHandler\RecordLinkHandler
handler = TYPO3\CMS\Backend\LinkHandler\RecordLinkHandler
label = LLL:EXT:my_extension/Resources/Private/Language/locallang.xlf:link.customTab
configuration {
table = tx_myextension_content
}
scanBefore = page
}
.. versionchanged:: 12.0
Due to the integration of EXT:recordlist into EXT:backend the namespace
of the link handler changed from
:php:`TYPO3\CMS\Recordlist\LinkHandler\RecordLinkHandler`
to
:php:`TYPO3\CMS\Backend\LinkHandler\RecordLinkHandler`.
For TYPO3 v12 the moved class is available as an alias under the old
namespace to allow extensions to be compatible with TYPO3 v11 and v12.

.. code-block:: typoscript
:caption: Frontend TypoScript definition for identifier `my_content`
Expand Down
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
"typo3/cms-linkvalidator": "^12.0",
"typo3/cms-lowlevel": "^12.0",
"typo3/cms-opendocs": "^12.0",
"typo3/cms-recordlist": "^12.0",
"typo3/cms-recycler": "^12.0",
"typo3/cms-redirects": "^12.0",
"typo3/cms-reports": "^12.0",
Expand Down

0 comments on commit 38378b2

Please sign in to comment.