Oliver Davies
d7f3d8c482
Add the initial code for specifying a blog post and returning related posts. This includes adding a repository for related posts, and adding it as a service within the `opdavies_blog` module. References #3
25 lines
669 B
YAML
25 lines
669 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
|
|
|
|
Drupal\opdavies_blog\Repository\RelatedPostsRepository:
|
|
autowire: true
|