This is a sub-issue of #1910624: [META] Introduce and complete configuration schemas in all of core.
Problem/motivation
#1866610: Introduce Kwalify-inspired schema format for configuration introduced the idea of config schema. The changelog leads to (hopefully extensive) documentation on the format at http://drupal.org/node/1905070. While there are little cleanups planned for the format overall, the current format is a result of months of back and forths, so it should be perfectly fine to apply it more widely to core.
Proposed solution
Create a configuration schema for file module.
Schema in place
Schema not yet in place
filter.settings.yml
filter.format.plain_text.yml
Comment | File | Size | Author |
---|---|---|---|
#16 | 1919174-diff-13-15.patch | 563 bytes | mr.york |
#15 | 1919174-filter-schema-15_0.patch | 1.77 KB | mr.york |
#13 | 1919174-filter-schema-13.patch | 1.67 KB | vijaycs85 |
#13 | 1919174-diff-9-13.txt | 1.53 KB | vijaycs85 |
#9 | 1919174-filter-schema-9.patch | 1.59 KB | vijaycs85 |
Comments
Comment #1
vijaycs85Adding schema file...
Comment #3
vijaycs85Fixing typo...
Comment #5
vijaycs85Removing type def: filter
Comment #7
vijaycs85Re-rolling with fixes.
Comment #8
vijaycs85In filter.format.full_html.yml
In filter.format.php_code.yml
To update them in Schema file(filter.schama.yml):
Where as %key has been defined as
and filter defined in system.data_types.schema.yml
when visit admin/reports/config-inspector/filter.format.php_code/form, I' getting all filters defined, instead of just PHP's (i.e. php_code)
Am I doing anything wrong here?
Comment #9
vijaycs85Comment #11
vijaycs85#9: 1919174-filter-schema-9.patch queued for re-testing.
Comment #13
vijaycs85Re-rolling...
Comment #14
Gábor Hojtsy#9: 1919174-filter-schema-9.patch queued for re-testing.
Comment #15
mr.york CreditAttribution: mr.york commentedAdded always_show_fallback_choice config option with the last patch.
Comment #16
mr.york CreditAttribution: mr.york commentedInterdiff.
Comment #17
mr.york CreditAttribution: mr.york commentedAdd #sprintweekend tag :).
Comment #19
Anonymous (not verified) CreditAttribution: Anonymous commentedRan the test on file and filter module and they seems clean. Also ran node test, found couple of failures but I don't think its related to this issue.
Comment #20
webchick#16: 1919174-diff-13-15.patch queued for re-testing.
Comment #21
webchickCommitted and pushed to 8.x. Yay! :D
Comment #22
disasm CreditAttribution: disasm commentedThanks for the patch review AshishK! You got a patch committed in less than a day with your review! Congrats!