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.
Motivation
Translation popup module doesn't wokr with entitycache
modules. Seems like hook_entity_load
isn't invoked when entiticache is enabled.
Possible solution
Implement hook hook_entitycache_load
http://cgit.drupalcode.org/entitycache/tree/entitycache.api.php#n15 which will call smartling_translate_page_popup_entity_load($entities, $type)
.
Comment | File | Size | Author |
---|---|---|---|
#4 | smartling-entitycache-4.patch | 961 bytes | Loparev |
Comments
Comment #2
Loparev CreditAttribution: Loparev commentedComment #3
Loparev CreditAttribution: Loparev commentedComment #4
Loparev CreditAttribution: Loparev commentedComment #6
Loparev CreditAttribution: Loparev commented