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.
It would be useful if the hook implementations could be loaded from a separate file rather than requiring them to be in the main module file, maybe look into how CTools does it.
Comments
Comment #1
bforchhammer CreditAttribution: bforchhammer commentedWe already have an implementation of
hook_hook_info()
, which allows ET hook implementations to be declared inMODULE.entity_translation.inc
...Comment #2
plachYes, I totally want to reduce our memory footprint in various way before 1.0, but this is not my main priority now.
Comment #3
DamienMcKennaNo problem, I saw what you did for core so I totally understand having higher priorities right now :) Kudos!
Comment #4
plachI meant that we should focus on getting more tests and features done before focusing on optimization :)
Comment #5
plach