Remove empty field_name value from content types

Created on 12 June 2023, about 1 year ago
Updated 1 August 2023, 11 months ago

Problem/Motivation

The entity type form shows "-- Default --" for all content types that do not have a field set, but in the code it's actually the "#empty_option".

It might actually be clearer to show the #empty_option label as "-- Disabled --".
It might also be cleaner in the configuration files if "-- Disabled --" removes the configuration instead of add an empty "field_name" value.

Proposed resolution

Change "-- Default --" to "-- Disabled --"
Content types with no field set will remove:

  entity_display_mode:
    display_configuration:
      field_name: ''
πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States asherry

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

Comments & Activities

Production build 0.69.0 2024