4

You have a typo in your services.yml file, you misspelled arguments. Additionally, for a service, you don't need to (and shouldn't) define the create method. Your dependent services are injected from services.yml, but keep your constructor as is. The only time you need to define the create method to inject dependencies is when working with plugins, ...


1

Normally the internal links /taxonomy/term/% are not used anymore, because all links Drupal puts on the page are aliased. If you want to prevent having multiple paths for the same page you can install https://www.drupal.org/project/redirect. From the project page: D8: Maintaining a canonical path and redirecting alternative URL's like non-aliased path, ...


Only top voted, non community-wiki answers of a minimum length are eligible