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
source : [git] https://git.drupal.org/project/crop 59902c8cb4ed6ad5903da46194257de1fdbf542b
------ ---------------------------------------------
Line src/CropTypeListBuilder.php
------ ---------------------------------------------
105 Call to deprecated method link() of class
Drupal\Core\Config\Entity\ConfigEntityBase.
------ ---------------------------------------------
------ ---------------------------------------------------
Line src/Form/CropTypeDeleteForm.php
------ ---------------------------------------------------
102 Call to deprecated function drupal_set_message().
------ ---------------------------------------------------
------ ---------------------------------------------------
Line src/Form/CropTypeForm.php
------ ---------------------------------------------------
174 Call to deprecated function drupal_set_message().
177 Call to deprecated function drupal_set_message().
------ ---------------------------------------------------
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Comment | File | Size | Author |
---|---|---|---|
#20 | missing-file_unmanaged_copy-removal.patch | 781 bytes | anavarre |
| |||
#15 | interdiff_8-15.txt | 823 bytes | katherined |
#15 | crop_api-3042587-15.patch | 3.03 KB | katherined |
|
Comments
Comment #2
i-trokhanenkoPlease review!
Comment #4
i-trokhanenkoUsed
toString()
for Link object. Please review #4 patch!Comment #5
i-trokhanenkoComment #7
kavbiswa CreditAttribution: kavbiswa at Infosys commentedComment #8
kavbiswa CreditAttribution: kavbiswa at Infosys commentedPlease review the latest patch file.
Comment #9
kavbiswa CreditAttribution: kavbiswa at Infosys commentedComment #10
kavbiswa CreditAttribution: kavbiswa at Infosys commentedPlease review the patch #8 (crop_api-3042587-8.patch) . It has passed the test.
Comment #11
idebr CreditAttribution: idebr at iO commentedPatch applies cleanly and replaces the deprecation messages listed in the issue summary.
Comment #12
katherinedConfirming patch works for me too.
Comment #13
phenaproximaOne request. Since we're using the messenger service, can we also explicitly require Drupal 8.5 or greater? This could be done in the info file, with something like this:
Comment #14
phenaproximaComment #15
katherinedAlso changed file_unmanaged_copy()
Comment #16
phenaproximaLooks good to me. If it passes, I will commit it.
Comment #17
phenaproximaComment #19
phenaproximaCommitted and pushed to 8.x-2.x. Thanks!
Comment #20
anavarreWe missed one deprecation:
Comment #21
anavarreComment #23
phenaproximaThanks, @anavarre! Committed and pushed to 8.x-2.x.
Comment #25
ndobromirov CreditAttribution: ndobromirov commented