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

Providing the configuration on installation or update

Drupal provides a configuration management system, which is discussed in Chapter 9, Confiuration Management – Deploying in Drupal 8, and modules are able to provide configuration on an installation or through an update system. Modules provide the configuration through YAML files when they are first installed. Once the module is enabled, the configuration is then placed in the configuration management system. Updates can be made to the configuration, however, in code through the Drupal update system.

In this recipe, we will provide configuration YAMLs that create a new contact form and then manipulate them through a schema version change in the update system.

Getting ready

Create a new module like ...

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