Closed (fixed)
Project:
Drupal core
Version:
11.3.x-dev
Component:
media system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
7 Nov 2025 at 18:39 UTC
Updated:
24 Nov 2025 at 16:19 UTC
Jump to comment: Most recent
Comments
Comment #3
alexpottComment #4
dcam commentedBefore the fix, executing the test resulted in four deprecations:
Afterward there were no deprecations. I double-checked the deprecation backtraces and verified that they're all due to missing bundle IDs. I really wish we could add parameter type hints to
EntityFieldManager::getFieldDefinitions(). /sighBut this needs a code style change to avoid conflicting with Drupal.Array.Array.LongLineDeclaration which is in an RTBC MR.
Comment #5
r_mahi commentedHi, I’m new to Drupal contribution. I can’t see the Join group or Assign to me option yet. Could someone please add me to the Drupal core contributors group? My username is r_mahi.
Comment #6
dcam commented@r_mahi please read https://www.drupal.org/community/contributor-guide/contribution-areas/core. In particular there is a link to the Drupal #contribute Slack channel. I encourage you to seek assistance there for getting started. Right now Drupal is in the middle of transitioning from its custom issue queue to GitLab. This comes with particular challenges when learning how and where to do things. Putting that information into an issue comment isn't appropriate. It would be best if you could use Slack to communicate directly with other contributors for assistance.
Comment #7
alexpottAs pointed out in the MR comments - this line does not fail the Drupal.Array.Array.LongLineDeclaration rule and this code is already checked by said rule.
Comment #8
alexpottWell not sure the code is checked... but the code does not fail the rule so my point still stands.
Comment #9
smustgrave commentedUpdated my ddev to 8.5.0RC3 and ran testDifferentSourceFieldDisplays which has createMediaTypeViaForm() and got
1 test triggered 4 PHP deprecations:
Applied the MR.
Re-ran same exact test and got 0 deprecations.
LGTM
Comment #12
catchCommitted/pushed to 11.x and cherry-picked to 11.3.x, thanks!