Oliver Davies
75b17fd565
- Add initial `PostNodeRepository` - Move logic to Repository - Inject `EntityTypeManagerInterface` - Add `PostNodeRepositoryTest` - Add failing test method - Failing test: non-existent service - The "node" entity type does not exist. - Create posts - Add assertions based on the `created` date - Sort nodes before returning them - Return values to reset array keys
5 lines
104 B
YAML
5 lines
104 B
YAML
services:
|
|
Drupal\example\Repository\PostNodeRepository:
|
|
arguments:
|
|
- '@entity_type.manager'
|