[10.3] New method getLabel() on FieldItemDataDefinition

Created on 23 June 2024, 7 months ago
Updated 8 July 2024, 6 months ago

In Drupal 10.3, multivalue fields now have a field label.
See the change record at: New method getLabel() on FieldItemDataDefinition

This affects TypedData because field labels are shown in the DataFetcher autocomplete. Because TypedData has extensive tests for the DataFetcher, when core Drupal changes the labels like this the TypedData tests will start failing.

Solution is to change the tests so they work in Drupal 10.3+ with the new labels but still work in Drupal 10.2- without the labels.

📌 Task
Status

Fixed

Version

2.0

Component

Data fetcher

Created by

🇺🇸United States tr Cascadia

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

Comments & Activities

Production build 0.71.5 2024