Make invalid reference label field formatter setting translatable

Created on 23 May 2025, 8 days ago

Problem/Motivation

In the config schema of the reference_value_formatter the invalid_reference_label is specificed as being a string, thus the value is not translatable using config translation, although it most likely differs per language.

Steps to reproduce

No good steps to reproduce. Either use Configuration Inspector to check the type or use 🐛 Entity view/form mode formatter/widget settings have no translation UI Needs review to get a translation UI for entity view displays and verify there that you can't translate the label.

Proposed resolution

Change the type of the setting from string to label, which specifies a translatable string.

Remaining tasks

Review, commit.

User interface changes

None without core patches. When using the core patch mentioned above, the label will now be translatable in the config translation UI.

API changes

None.

Data model changes

Config schema type updated for one field formatter setting.

🐛 Bug report
Status

Active

Version

4.0

Component

Code

Created by

🇩🇪Germany FeyP

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024