You are here

nodejs.services.yml in Node.js integration 8

File

nodejs.services.yml
View source
  1. services:
  2. nodejs.subscriber:
  3. class: Drupal\nodejs\EventSubscriber\NodejsSubscriber
  4. arguments: ['@nodejs.nodejs']
  5. tags:
  6. - {name: event_subscriber}
  7. logger.channel.nodejs:
  8. class: Drupal\Core\Logger\LoggerChannel
  9. factory: logger.factory:get
  10. arguments: ['nodejs']
  11. nodejs.nodejs:
  12. class: Drupal\nodejs\Nodejs
  13. arguments: ['@http_client', '@logger.channel.nodejs', '@module_handler', '@config.factory', '@state']