Project

General

Profile

Actions

Task #99772

closed

Deprecate TCA renderType="inputLink" at some point

Added by Sybille Peters almost 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Start date:
2023-01-31
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

The type="input", renderType="inputLink" was replaced in TYPO3 v12 with type="link", however the inputLink still works. At some point it can be deprecated and removed.

typo3/sysext/backend/Migrations/Code/ClassAliasMap.php:

return [
    'TYPO3\\CMS\\Backend\\Form\\Element\\InputLinkElement' => \TYPO3\CMS\Backend\Form\Element\LinkElement::class,

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Feature #97159: Introduce TCA type "link"ClosedOliver Bartsch2022-03-09

Actions
Actions #1

Updated by Sybille Peters almost 2 years ago

Actions #2

Updated by Oliver Bartsch almost 2 years ago

  • Status changed from New to Needs Feedback

Hi Sybille, the renderType has already been deprecated with the introduction of type=link. The class alias will be removed in v13, as noted in the code comment:

/**
 * @deprecated since TYPO3 v12, will be removed in TYPO3 v13
 */

The TCA is still "working", due to the corresponding TCA migration, which however logs a deprecation message for the usage. This is the standard process for all our TCA config changes.

What exactly do you expect by "Deprecate TCA renderType="inputLink" at some point"?

Best, Oli

Actions #3

Updated by Sybille Peters almost 2 years ago

  • Status changed from Needs Feedback to Closed

ah ok. Sorry about that.

Actions

Also available in: Atom PDF