Add fields for alternative text labels to settings form

Created on 26 June 2024, 4 days ago
Updated 27 June 2024, 3 days ago

Problem/Motivation

This came up while looking into a possible issue with the Domain Config UI module 🐛 Configuration translation uses default language on domain-enabled config forms Active .

We would like to configure translations for the alternative text labels. Although these fields are missing from the settings form, they can be edited from the configuration translation form, which works great for a vanilla Drupal install. However, if you install the Domain module and enable domain-specific configuration for the External Link module, then you are unable to edit these settings at all. If they were part of the main settings form, then they could be editable and translatable for our use case.

This issue appears in both v8.x-1.7 and v2.0-dev branches.

Steps to reproduce

Visit /admin/config/user-interface/extlink and see that the fields for alternative text labels are missing. They can only be edited from the configuration translation form at /admin/config/user-interface/extlink/translate.

Proposed resolution

Add fields for extlink_label and extlink_mailto_label to ExtlinkAdminSettingsForm.

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024