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.
Hi,
In function _weight_get_types(), could we safetly use static cache?
Would saved a lot of useless queries, depending on how many time hook_node_load is invoke for e.g !
Here is a patch.
Comment | File | Size | Author |
---|---|---|---|
#1 | weight-2408661-1.patch | 658 bytes | chaby |
Comments
Comment #1
chaby CreditAttribution: chaby commentedComment #2
davisbenThanks for the patch! This has been committed.