Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Coming from @yched's comment in #1875992-56: Add EntityFormDisplay objects for entity forms:
- field_ui_inactive_message()
Gee, the current code in HEAD is complete nonsense, inactive fields have nothing to do with widgets.
The message should be "%field (@field_name) field requires the %field_type field_type provided by %field_type_module module".
We need the name of the field type and its module in here, not the name of the widget / widget module.
Comment | File | Size | Author |
---|---|---|---|
#1 | 1974632.patch | 1.56 KB | amateescu |
Comments
Comment #1
amateescu CreditAttribution: amateescu commentedComment #2
swentel CreditAttribution: swentel commentedLooks good to me on first glance, do we need tests for this ? :/
Comment #3
amateescu CreditAttribution: amateescu commentedNot sure, if we had a test for every string in the UI.. :P For me this is just a fix-and-forget bug.
Comment #4
swentel CreditAttribution: swentel commentedTrue, fair enough.
Comment #6
amateescu CreditAttribution: amateescu commented#1: 1974632.patch queued for re-testing.
Comment #7
amateescu CreditAttribution: amateescu commentedThat was a randon test failure.
Comment #8
Dries CreditAttribution: Dries commentedCommitted to 8.x. Thanks.