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.
Create a new module like ...