services:
- woot.manager:
- class: Drupal\woot\WootManager
- arguments: ['@current_user']
+ config.config_subscriber:
+ class: Drupal\woot\EventSubscriber\ConfigSubscriber
tags:
- - { name: consolidation.commandhandler }
- woot.command:
- class: Drupal\woot\Commands\WootCommands
- tags:
- - { name: consolidation.commandhandler }
- greet.command:
- class: Drupal\woot\Commands\GreetCommand
- tags:
- - { name: drush.command }
- annotated_greet.command:
- class: Drupal\woot\Commands\AnnotatedGreetCommand
- tags:
- - { name: drush.command }
+ - { name: event_subscriber }