Improve link_type semantic in entity architecture section

Created on 19 June 2023, over 1 year ago
Updated 12 July 2023, over 1 year ago

Problem/Motivation

In entity architecture section, if there is a link field, we see link_type: 16, 17 or others as data type settings.

In \Drupal\link\LinkItemInterface we have diferent constants that are used for each link_type: internal, external and generic.

Maybe we could make more human readable using strings instead integer if it was possible and put even the internal integer value as well but between parenthesis or vice versa.

Examples (Right now I don't know the correct equivalence between each integer with string, it's just an example):
link_type: internal (16)

or

link_type: 16 (internal)

This new features would be nice in Drupal and in CSV.

Feature request
Status

Fixed

Version

1.0

Component

Code

Created by

🇪🇸Spain jansete

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024