Module Development

Add Configuration to a Service for Drupal 8

Sprout Video

In this tutorial, we'll inject some configuration into our constructor class and introduce parameters by way of our services YAML file.

Additional resources

An Introduction to YAML — Drupalize.Me