O'Reilly logo

Drupal 8: Enterprise Web Development by Chaz Chumley, Matt Glaman, Richard Jones, Nick Abbott

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using the filesystem for configuration storage

Originally, Drupal 8 utilized the filesystem for the configuration using the database as a mere cache. During the development cycle, it was changed to keep the configuration in the database and use YAMLs and disks for synchronization. It is possible to enable this setting and have Drupal primarily utilize the disk for configuration storage. This change needs to be defined before you install your Drupal site and existing installations cannot be converted.

In this recipe, we will configure Drupal to write and read its configuration from the filesystem instead of the database. Configuration changes will automatically be imported on the cache rebuild.

Note

Overall, this is an advanced topic. This recipe ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required