Improve default widget labels

Created on 3 April 2020, over 5 years ago
Updated 19 August 2025, about 1 month ago

Right now, when you add a new widget plugin in admin/config/content/entity_browser/.../widgets, the default label is the machine ID of the plugin. Not only is this not intended to be seen by end users, it's also not translatable into other languages. For instance, adding an Entity Form plugin results a default label of entity_form.

Instead, this patch makes the label default to the label field, as set in the plugin's annotation.

πŸ› Bug report
Status

Needs work

Version

2.0

Component

Widget selector plugins

Created by

πŸ‡ΊπŸ‡ΈUnited States gribnif

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024