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.

An Introduction to YAML — Drupalize.Me