How do I inject a service to a controller in Drupal 8?
It is not obvious how to inject a service into a controller in Drupal 8. You actually need to use a create() function to do that.
It is not obvious how to inject a service into a controller in Drupal 8. You actually need to use a create() function to do that.