Enable the auto-configuration of service and repository classes, including support for classes in subdirectories by using `getRelativePathname()` rather than `getFilename()` and making some additional changes to the result. References #347
26 lines
609 B
YAML
26 lines
609 B
YAML
parameters:
|
|
container.autowiring.strict_mode: true
|
|
|
|
services:
|
|
Drupal\Core\Config\ConfigFactoryInterface:
|
|
alias: config.factory
|
|
|
|
Drupal\Core\Entity\EntityTypeManagerInterface:
|
|
alias: entity_type.manager
|
|
|
|
Drupal\Core\Queue\QueueFactory:
|
|
alias: queue
|
|
|
|
Drupal\opdavies_blog\EventSubscriber\PushPostToSocialMediaOnceItIsPublished:
|
|
autowire: true
|
|
tags:
|
|
- { name: event_subscriber }
|
|
|
|
Drupal\opdavies_blog\EventSubscriber\SortTagsAlphabeticallyWhenPostIsSaved:
|
|
autowire: true
|
|
tags:
|
|
- { name: event_subscriber }
|
|
|
|
GuzzleHttp\ClientInterface:
|
|
alias: http_client
|