oliverdavies.uk-drupal-old/web/modules/custom/blog
Oliver Davies b90ca42e87 Refactor to use an entity query
Refactor from using `loadByProperties` to using an entity query.

`loadByProperties` doesn't allow for passing multiple values for a
single property such as multiple tags to compare against, and also means
that removing the current node can be done in the query rather than
filtering it out of the Collection.

This might also be a more performant solution if we can do the grouping
and sorting of the results in the query rather than needing to perform
additional steps on the result.

References #3
2021-01-10 22:38:02 +00:00
..
config/schema Rename variable to make it more generic 2021-01-01 21:46:12 +00:00
hooks Rename custom module directories 2020-09-04 21:25:36 +01:00
src Refactor to use an entity query 2021-01-10 22:38:02 +00:00
tests Return related posts for a specified blog post 2021-01-10 22:38:00 +00:00
drush.services.yml Rename custom module directories 2020-09-04 21:25:36 +01:00
opdavies_blog.info.yml Rename custom module directories 2020-09-04 21:25:36 +01:00
opdavies_blog.install Extract helper methods 2020-11-10 20:25:07 +00:00
opdavies_blog.module Rename custom module directories 2020-09-04 21:25:36 +01:00
opdavies_blog.services.yml Return related posts for a specified blog post 2021-01-10 22:38:00 +00:00