Module Development

Overview: Configuration API in Drupal for Drupal 8, 9, 10, and 11

Drupal stores the settings that define how a site behaves as configuration data. Everything from the site name to image styles, roles, and view definitions are stored as configuration. The Configuration API gives modules, themes, and installation profiles a consistent way to store, retrieve, update, and provide this configuration in a structured and portable way.

In this tutorial, we'll:

  • Provide a high-level overview of the features of Drupal's Configuration API
  • Link to related tutorials where you can learn more and get hands-on practice working with configuration data in code.