March 2019
Intermediate to advanced
580 pages
15h 3m
English
Configuration is essentially stored in two places:
Here is an example of a simple configuration YAML file:
my_string: 'Hello!' my_int: 10 my_boolean: true my_array: my_deep_string: 'Yes, hello!'
The name of this file is given by the ID you need to use with the configuration API to read this data.
In addition to the actual data, you can have a dependencies key under which you can list what this configuration item depends on:
dependencies: module: - views theme: - bootstrap config: - system.site
There are three types of dependencies: modules, themes, and other configuration items.
If you remember in Chapter 2, Creating Your First ...
Read now
Unlock full access