Skip to content

Commit c66376f

Browse files
authored
Update drupal-config.json (SchemaStore#5138)
1 parent e75c9d0 commit c66376f

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

src/schemas/json/drupal-config.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@
4343
"title": "Whether the value can be empty",
4444
"type": "boolean"
4545
},
46+
"requiredKey": {
47+
"title": "Whether the key is required",
48+
"type": "boolean"
49+
},
4650
"class": {
4751
"title": "The class implementing parsing",
4852
"type": "string"

src/test/drupal-config/drupal-config.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,11 @@ config_object:
1616
label: 'Language code'
1717
_core:
1818
type: _core_config_info
19+
20+
test_required_key:
21+
type: config_object
22+
mapping:
23+
optional:
24+
type: boolean
25+
label: 'Optional field'
26+
requiredKey: false

0 commit comments

Comments
 (0)