Set hooks services to auto configured
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3447110. --> Reported by: [dpi](https://www.drupal.org/user/81431) Related to !32 >>> <p>Add setAutoconfigured( flag to service definition.</p> <p>So hooks classes can do other magical things, like be eventsubscribers by simply implementing <code>\Symfony\Component\EventDispatcher\EventSubscriberInterface</code></p>
issue