Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This came up in #2144413: Config translation does not support text elements with a format
Problem/Motivation
- People who need to write configuration schema cannot find an introductory overview to the idea and concepts of configuration schema
- There is no place to document certain important details about the configuration schema
Proposed resolution
Create a @config_schema_api
@defgroup
.
Things to document:
- The general idea behind configuration schema
- The structure of configuration schema, where to put files, etc.
- Some commonly used types, such as
mapping
,string
, etc. - Translatability, i.e.
text
vs.label
- …
Remaining tasks
User interface changes
No.
API changes
No.
Comments
Comment #1
tstoecklerComment #14
Wim LeersI don't get why this was just "normal" — I just spent hours figuring out why
translatable: true
did not work: #3341682-11: New config schema data type: `required_label`.This would be super valuable.
Because this does not exist, the entire Drupal ecosystem is relying on https://www.hojtsy.hu/blog/2021-dec-22/major-drupal-configuration-schema... if they can find it!