Display a list of related post titles

References #3
This commit is contained in:
Oliver Davies 2021-01-11 00:58:54 +00:00
parent 1f82a07226
commit 105405e7f9
2 changed files with 65 additions and 3 deletions

View file

@ -9,7 +9,7 @@ use Drupal\Core\Entity\EntityTypeManagerInterface;
use Drupal\Core\Entity\Query\QueryInterface;
use Drupal\opdavies_blog\Entity\Node\Post;
use Drupal\taxonomy\TermInterface;
use Illuminate\Support\Collection;
use Tightenco\Collect\Support\Collection;
final class RelatedPostsRepository {