Review main Merged

73866[FEATURE] Introduce TCA type "link"

Oli Bartsch CR +2 V +2 Expert +1002 −315 updated 03/14/22, 15:26

Commit message

In our process of using dedicated TCA types,
the new TCA type "link" is introduced and
replaces "renderType=link" of TCA type "input".

Notable changes to the previous "inputLink" behaviour:

- "linkPopup" fieldControl is now always used by the
  FormEngine element
- Corresponding fieldControl options are migrated
  to columns config
- The type now makes use of include lists instead of
  exclude lists
- The allowed link types are now evaluated in DataHandler
- "trim" is always done in DataHandler and FormEngine
- "max" is no longer evaluated
- "softref=typolink" is automatically set

As mentioned, the TCA type "link" uses include lists.
This also required to adjust the LinkPopup fieldControl,
as well as the Link Browser classes. The previously
used "blinkLink[Fields|Options]" options are still
supported in case the "LinkPopup" fieldControl is used
for another TCA type. However, they might be deprecated
soon.

Finally, the TSconfig key for the MailLinkHandler is
renamed from "mail" to "email", to unify the naming
in the codebase.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 45

Show 25 more files