Actual hook implementations need to be in the module, but the bulk of the code can be in a service.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Steven Jones created an issue. See original summary.

Steven Jones’s picture

Something like this.

Steven Jones’s picture

Status: Needs review » Needs work
Steven Jones’s picture

Status: Needs work » Needs review
Steven Jones’s picture

Status: Needs review » Needs work

I added a hook in the latest version.

Steven Jones’s picture

Status: Needs work » Needs review
FileSize
4.41 KB

  • Steven Jones committed 30a602e on 8.x-2.x
    Issue #2829536 by Steven Jones: Move hook implementations into a service
    
Steven Jones’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.