Return related posts for a specified blog post
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
This commit is contained in:
parent
62424d5b04
commit
d7f3d8c482
3 changed files with 73 additions and 0 deletions
|
@ -19,3 +19,6 @@ services:
|
|||
|
||||
Drupal\opdavies_blog\Service\PostPusher\PostPusher:
|
||||
alias: Drupal\opdavies_blog\Service\PostPusher\IftttPostPusher
|
||||
|
||||
Drupal\opdavies_blog\Repository\RelatedPostsRepository:
|
||||
autowire: true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue