The basic types that can be associated with a configuration element are:
- Boolean
- integer
- float
- string
- uri
There are other data types defined that are aliases for string. These include:
- path
- text
- date_format
- color_hex
This is done to provide hinting to allow additional validation to the exported data.
These will be output in the configuration YAML and then retrieved and converted to the appropriate type in Drupal. This avoids some of the possible confusion in YAML by ensuring that the value 0 is converted to either the Boolean FALSE or the integer 0 as appropriate.