Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Part of meta-issue #2225347: [META] Replace calls to ENTITY_TYPE_load() and ENTITY_TYPE_load_multiple() with static method calls
See the detailed explanations and examples there.
Comment | File | Size | Author |
---|---|---|---|
#3 | interdiff-2377115-1-3.txt | 985 bytes | mglaman |
#3 | replace_all_instances-2377115-3.patch | 31.25 KB | mglaman |
Comments
Comment #1
mglamanPatch that replaces entity_load() and entity_load_multiple() with static methods.
Comment #3
mglamanAccidentally replaced an entity_create() with static load :/. Fixed patch.
Comment #4
dstotijn CreditAttribution: dstotijn commentedApplied patch, grepped for occurrences of "entity_load('field_config'" and "entity_load_multiple('field_config'"; none found. Reviewed the replacements with static method calls. Looks fine to me.
Comment #5
alexpottThe meta-issue #2225347: [META] Replace calls to ENTITY_TYPE_load() and ENTITY_TYPE_load_multiple() with static method calls has the beta evaluation form. Committed 33b66b5 and pushed to 8.0.x. Thanks!