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.
Problem/Motivation
The module contains few deprecations for 10.0 core
Proposed resolution
Remove deprecated mentions and code
Remaining tasks
review/commit
User interface changes
No
API changes
No
Data model changes
No
Comment | File | Size | Author |
---|---|---|---|
#2 | 3264061-2.patch | 3.09 KB | andypost |
|
Comments
Comment #2
andypostonly 2
Comment #4
andypostComment #5
daffie CreditAttribution: daffie commentedLooks good to me.
Comment #7
catchCommitted 22859f8 and pushed to 10.0.x. Thanks!
Comment #8
mondrakeThis has caused an off-synch of the PHPStan baseline,
Running PHPStan on *all* files.
------ --------------------------------------------------------------------------------
Line core/modules/media/src/Plugin/Field/FieldFormatter/MediaThumbnailFormatter.php
------ --------------------------------------------------------------------------------
62 Method
Drupal\image\Plugin\Field\FieldFormatter\ImageFormatter::__construct(
) invoked with 9 parameters, 10 required.
------ --------------------------------------------------------------------------------
Comment #9
andypostThe follow-up, nice catch!
Comment #10
andypostI think it better to rollback as new argument needs deprecation notice https://www.drupal.org/about/core/policies/core-change-policies/drupal-d...
Comment #11
SpokjeBlocking D10 removal patch in #3227033-110: Remove Quick Edit from core (See https://www.drupal.org/pift-ci-job/2319582)
Since that issue has Priority Major, bumping this to major as well.
Comment #12
catchWait I think that is fixed by #3255887: MediaThumbnailFormatter => Calling ImageFormatter::__construct() without the $file_url_generator argument is deprecated in drupal:9.3.0, which I just committed to 10.0.x (and will be backported to 9.4.x and 9.4.x), so we might not need to roll back here.
Comment #13
SpokjeIndeed fixed by #3255887: MediaThumbnailFormatter => Calling ImageFormatter::__construct() without the $file_url_generator argument is deprecated in drupal:9.3.0, back to Normal again.
Comment #14
andypostit's already fixed in 10.0.x