Problem/Motivation
We're missing a schema for field.value.language which means we cannot have a default value for a LanguageItem field type that passes config schema checking
Steps to reproduce
Add a test that creates a LanguageItem field type with a default value when strict schema checking is on.
See the test fail config schema validation
Proposed resolution
Add a schema entry for field.value.language
Remaining tasks
User interface changes
Introduced terminology
API changes
Data model changes
Release notes snippet
Issue fork drupal-3516520
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
larowlanComment #4
penyaskitoConfig schema looks good and MappingTest provides test coverage.
Comment #5
wim leersSurfaced in #3515294: Get `options_buttons` field widget in Page Data form working: support `input[type=radio]`.
I think this can and hence should use
type: langcodethough? 🤔Comment #6
wim leersComment #7
larowlanAdded a choices constraint to match type:langcode and added a comment regarding the lack of null support in type:langcode.
Comment #8
wim leersLooking good!
Comment #11
alexpottCommitted and pushed bc761e4a9d4 to 11.x and ec3617b375e to 11.2.x and e9470a68e61 to 11.1.x. Thanks!
Comment #13
alexpott