From 5eacf4fffdd05d0c18cbc21bff03a8b897aa1634 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Chris=20M=C3=BCller?= <2566282+brotkrueml@users.noreply.github.com> Date: Thu, 22 Jun 2023 14:22:19 +0200 Subject: [PATCH] [TASK] Add note about outdated example for formattedLabel_userFunc Related: https://github.com/TYPO3-Documentation/Changelog-To-Doc/issues/207 Related: https://github.com/TYPO3-Documentation/TYPO3CMS-Reference-TCA/issues/727 Releases: main, 12.4 --- Documentation/Ctrl/Properties/FormattedLabelUserFunc.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/Ctrl/Properties/FormattedLabelUserFunc.rst b/Documentation/Ctrl/Properties/FormattedLabelUserFunc.rst index 670ed3d6..25bd5e93 100644 --- a/Documentation/Ctrl/Properties/FormattedLabelUserFunc.rst +++ b/Documentation/Ctrl/Properties/FormattedLabelUserFunc.rst @@ -25,6 +25,12 @@ formattedLabel\_userFunc Examples ======== +.. todo: Use a new example, see https://github.com/TYPO3-Documentation/TYPO3CMS-Reference-TCA/issues/727 + +.. note:: + This example is outdated: the :php:`UserFileInlineLabelService` class has + been deprecated with TYPO3 v12.0 and removed with TYPO3 v13.0. + * Example from table "sys_file_reference":: 'formattedLabel_userFunc' => TYPO3\CMS\Core\Resource\Service\UserFileInlineLabelService::class . '->getInlineLabel',