Settings and services deep dive

21 May 2025, 4:30 am (UTC)

Description: Site-level settings and services, which are defined in settings.php and services.yml files, are integral to every Drupal website. They are responsible for defining the database access credentials and other foundational, site-specific definitions. Misconfiguration can lead to security vulnerabilities, performance issues, or unpredictable site behavior.

This session will explore effective strategies for defining and managing settings and services in a Drupal application.

Topics will include:

The difference between settings, configuration, and service parameters

What settings are required

What configuration must be defined in a settings file

The relationship between services and settings

Organizing included settings files

Leveraging Drupal's scaffolding functionality

Easily enabling front-end and back-end settings and services for local development

Attendees of this session will learn about the role of settings and services and how to define and manage them using strategies that optimize for maintainability, flexibility, and security.

Other Sessions