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 some config schema coverage for views, but it is not complete. 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
Figure out the missing pieces that are not yet covered. Write schema file sections for them. Clean up / fix any issues in current schema.
Create a configuration schema for entity type view_mode.
Comment | File | Size | Author |
---|---|---|---|
#3 | schema_view_mode_entity-2096373-3.patch | 1.26 KB | sushantpaste |
#1 | schema_view_mode_entity-2096373-2.patch | 1 KB | jsbalsera |
#1 | entity_view_mode_raw_data.png | 10.26 KB | jsbalsera |
#1 | entity_view_mode_config_inspector_form.png | 26.57 KB | jsbalsera |
Comments
Comment #1
jsbalseraRaw data:
Config editor form:
Comment #2
vijaycs85May need some update on comments and labels?
Comment #3
sushantpasteUpdated patch with label changes.
Comment #4
Sumeet.Pareek CreditAttribution: Sumeet.Pareek commentedI am trying to manually review this during a contib mentoring sprint at - 2013.drupalcampdelhi.com
When I apply the patch I do get the entity.schema.yml file created in the right place, but then the manual testing steps noted here talk about comparing this file to the corresponding data.yml file, which I am not able to locate :-(
Oh btw, this is my day 1 with D8, so I am sure I would sound silly. But I have decided not to let go without manually reviewing this issue/patch like it should be *looks deteremined*
Comment #5
gaurav.goyal CreditAttribution: gaurav.goyal commentedHey this was my first manual patch Review and was pretty much exciting,
the patch reviews are as follows : -
Comment #6
sushantpastewith reference to #5 comment changed status to RTBC.
feel free to reopen.
S.
Comment #7
Xano3: schema_view_mode_entity-2096373-3.patch queued for re-testing.
Comment #8
webchickGreat work on this, folks! :) Glad to see brand new contributors to D8 helping out!
Committed and pushed to 8.x. Thanks!