- Issue created by @idebr
Pathauto provides several services, but they cannot be autowired. See core for reference: 📌 Enable more service autowiring by adding interface aliases to core modules Fixed
Results in the following error message:
Cannot autowire service "[service name]": argument "$pathautoGenerator" of method "[CLASS_NAME]::__construct()" references interface "Drupal\pathauto\PathautoGeneratorInterface" but no such service exists. You should maybe alias this interface to the existing "pathauto.generator" service.
Allow pathauto services to be autowired
None
Pathauto services can now be autowired
None
Active
1.0
Code