Add a custom service YAML container | Drupal 8

Add a custom service YAML container

Submitted by editor on Wed, 01/12/2022 - 11:15

Example: settings for local environnement.
Create the local settings file : local.services.yml the add to local settings.php file

# Local service config
$settings['container_yamls'][] = DRUPAL_ROOT . '/sites/default/local.services.yml';

Add new comment

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.