- Issue created by @dieterholvoet
- 🇧🇪Belgium dieterholvoet Brussels
Never mind, seems like that has already been added in 2.0.0-beta3.
Drupal utilizes the Symfony service container, however some features such as autowiring and autoconfiguration were not leveraged in Drupal 8. Since Drupal 9.3, services can be autowired. This means that when defining a service in *.services.yml
, in many cases the arguments can be automatically inferred from the typehints on constructor arguments. More information on service autowiring in Drupal can be found in the
change record →
.
In order for autowiring to work with services of this module, aliases needs to be added for classes and non-ambiguous core interfaces (i.e. interfaces that only have a single implementation).
Active
2.0
Code
Never mind, seems like that has already been added in 2.0.0-beta3.