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.
Comment | File | Size | Author |
---|---|---|---|
#16 | rerolled-2855434-16.patch | 9.27 KB | Vidushi Mehta |
| |||
#13 | interdiff-11-13.txt | 2.34 KB | subson |
#13 | token-replace_usages_of_deprecated_entity_create-2855434-13.patch | 9.27 KB | subson |
|
Comments
Comment #2
bkhandruk CreditAttribution: bkhandruk commentedReplaced all usages of entity_create.
Comment #4
deepakkumar14 CreditAttribution: deepakkumar14 as a volunteer and at gai Technologies Pvt Ltd for gai Technologies Pvt Ltd commentedI have reviewed the patch in #2 it is not replacing all the entity_create function of module.
So i have created a new patch for it.
Comment #5
MatroskeenComment #6
MatroskeenI've replaced \Drupal::entityTypeManager() with generic Entity classes.
Drupal core tests use this approach, so probably it should be done in this way.
All tests were passes locally.
Patch and interdiff are attached. Please review.
Comment #7
nkoporecTested the patch and it's looking good.Moving to RTBC.
Comment #8
BerdirWill need a reroll.
Comment #9
deepakkumar14 CreditAttribution: deepakkumar14 as a volunteer and at gai Technologies Pvt Ltd for gai Technologies Pvt Ltd commentedI have pulled latest code and applied patch #6 and its working fine.
Comment #11
Vidushi Mehta CreditAttribution: Vidushi Mehta at gai Technologies Pvt Ltd commentedHere's a rerolled patch.
Comment #12
volegerLooks good for me.
Comment #13
subson CreditAttribution: subson as a volunteer commentedre-rolling the patch along with changes from this issue - #2932591: entity_create, entity_load and other similar functions are deprecated
Comment #14
ApacheEx CreditAttribution: ApacheEx as a volunteer and at Drupal Ukraine Community commentedThe patch from #13 looks clean and done with minimal changes :)
Make it as RTBC.
Comment #15
BerdirThat's the problem with those deprecation/coding style patches, they conflict easily. Sorry but this needs a reroll.
Comment #16
Vidushi Mehta CreditAttribution: Vidushi Mehta at gai Technologies Pvt Ltd commentedPatch rerolled.
Comment #17
jhedstromLooks good!
Comment #19
BerdirAlready conflicted again, fixed and committed.