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.
Workbench Moderation provides a fantastic example of how hooks can be abstracted into D8 services.
Comment | File | Size | Author |
---|---|---|---|
#5 | move_entity_hooks_to-2660066-5.patch | 11.5 KB | markdorison |
#4 | move_entity_hooks_to-2660066-4.patch | 11.38 KB | markdorison |
#2 | move_entity_hooks_to-2660066-2.patch | 11.35 KB | markdorison |
Comments
Comment #2
markdorisonMoved entity hooks to new RecurlyEntityOperations service.
* Created RecurlyEntityOperations service.
* Moved recurly_entity_update & recurly_entity_delete logic to RecurlyEntityOperations.
Comment #3
markdorisonComment #4
markdorisonRe-rolled.
Comment #5
markdorisonRe-rolled patch.
Comment #6
aburke626Tested and it looks good!
Comment #7
aburke626Comment #9
aburke626