Drupal 10.2.x compatibility

Created on 6 February 2024, 10 months ago
Updated 24 May 2024, 6 months ago

Problem/Motivation

Since Drupal 10.2.0, the FieldStorageConfigEditForm is now rendered as a subform within FieldConfigEditForm.

It is no longer sufficient to rely solely on hook_field_storage_config_update to update the field configuration entity when changes are made to field storage.

Details see the Drupal core change log in
https://www.drupal.org/node/3386675 →

Steps to reproduce

  1. Install Drupal 10.2.2
  2. Install Entity Reference Display 2.0
  3. Add a Display Mode field to a content type
  4. In the field setting for the new field, you can choose more than 1 value for this field which is not allowed before 10.1

Proposed resolution

Update line 18 in entity_reference_display.module file accordingly.

https://git.drupalcode.org/project/entity_reference_display/-/blob/2.0.x...

📌 Task
Status

Fixed

Version

2.0

Component

Code

Created by

🇦🇺Australia mingsong 🇦🇺

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