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.
When Drupal executes hook_ENTITY_TYPE_view() is throwing an exception since _l() is deprecated.
I will attach a possible solution for it, however you could argue about the better implementations.
Comment | File | Size | Author |
---|---|---|---|
#3 | blog-function_l_deprecated-2559425-2-9.patch | 1.22 KB | roberto_araya |
#2 | blog-function_l_deprecated-2559425-2-8.patch | 1.3 KB | keboca |
Comments
Comment #2
keboca CreditAttribution: keboca as a volunteer commentedI just attached my own solution, please feel free to ping me.
Comment #3
roberto_araya CreditAttribution: roberto_araya commentedThe patch no apply because not find modules/contrib/blog/blog.module so I've edited.
Comment #5
chris_hall_hu_cheng CreditAttribution: chris_hall_hu_cheng as a volunteer commentedThanks
Have committed to fix the issue for now. The code may be refactored after I have raised an issue to get the tests to pass.
Comment #6
chris_hall_hu_cheng CreditAttribution: chris_hall_hu_cheng as a volunteer commented