I have found two cases where schema files end with ".data_types.yml" instead of ".data_types.schema.yml".
Patch added to rename them.
core/modules/entity/config/schema/entity.data_types.yml
core/modules/rdf/config/schema/rdf.data_types.yml
These files were being skipped from "shipped configuration schema" extraction by potx, and were causing issues with my work on #1933988: Support for Drupal 8 shipped configuration translatables with external dependencies (in effect contrib).
Comment | File | Size | Author |
---|---|---|---|
fix-schema-names.patch | 570 bytes | herom | |
Comments
Comment #1
dawehnerperfect
Comment #2
Gábor Hojtsy@herom: I think it is safe for you to consider any .yml file in schema/ a schema yml even if there is no schema.yml suffix. At least core does that. I think this is good standardisation, but should not be required per say AFAIS.
Comment #3
alexpottYeah any YAML in config/schema/ should be considered a schema. But nice to be consistent.
Committed b2c4388 and pushed to 8.x. Thanks!
Comment #5
Gábor Hojtsy