Configuration schema/metadata
Drupal 8 includes support for a Kwalify (http://www.kuwata-lab.com/kwalify/) inspired schema/metadata language for configuration YAML files. Kwalify itself is written in Python and we needed slight adjustments in the format, so not all of the details of Kwalify are directly applicable, but it is pretty close.
Table of contents
- An introductory example
- What are schema files used for?
- Types supported in metadata files
- Properties
- Dynamic type references
- Code style to use for schema files
- PHP API
- Debugging your schema
- Even more background information
An introductory example #
Take site maintenance mode settings as a simple first example. System module has a core/modules/system/config/system.maintenance.yml file to contain the two settings related to maintenance mode (whether the site is taken offline for normal visitors):
enabled: '0'
message: '@site is currently under maintenance. We should be back shortly. Thank you for your patience.'Comparison of EXIF modules (Drupal 7)
Comparison of modules that handle importing EXIF metadata from images.
| Reads EXIF | Reads IPTC | Map to custom fields | |
| Exif | Yes | Yes | No |
| EXIF Custom | Yes | Yes | Yes |
Metatag
This is a placeholder for documentation related to the metatag.module