Oliver Davies
87ee87f915
Add a NullPostPusher implementation and use it within the tag re-ordering tests to stop an Exception being thrown because there's no webhook URL. References #332
22 lines
591 B
YAML
22 lines
591 B
YAML
services:
|
|
Drupal\opdavies_blog\EventSubscriber\PushBlogPostToSocialMedia:
|
|
autowire: true
|
|
tags:
|
|
- { name: event_subscriber }
|
|
|
|
Drupal\opdavies_blog\EventSubscriber\ReorderBlogTags:
|
|
tags:
|
|
- { name: event_subscriber }
|
|
|
|
Drupal\opdavies_blog\Repository\PostRepository:
|
|
autowire: true
|
|
|
|
Drupal\opdavies_blog\Service\PostPusher\IftttPostPusher:
|
|
autowire: true
|
|
|
|
Drupal\opdavies_blog\Service\PostPusher\NullPostPusher:
|
|
autowire: true
|
|
|
|
Drupal\opdavies_blog\Service\PostPusher\PostPusher:
|
|
alias: Drupal\opdavies_blog\Service\PostPusher\IftttPostPusher
|