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.
Parent Issue
#2359437: [meta] Remove entity_load* family of functions usage from the code base
Problem/Motivation
There are case where entities of the rdf_mapping entity type are retrieved using the functional loader, entity_load*()
Proposed resolution
Replace calls to entity_load*('rdf_mapping', ...)
with RdfMapping::load()
Comment | File | Size | Author |
---|---|---|---|
#2 | remove_entity_load-2723613-2.patch | 567 bytes | John Cook |
Comments
Comment #2
John Cook CreditAttribution: John Cook commentedI've created a patch to remove the usage of
entity_load('rdf_mapping', ...)
that I can find.Comment #3
John Cook CreditAttribution: John Cook commentedUpdated summary.
Comment #4
valthebaldAs far as I can see, there is only one call to entity_load*('tour'), and the patch from #2 fixes it.
Comment #5
catchCommitted d429cd2 and pushed to 8.2.x. Thanks!