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 form_mode.
Comment | File | Size | Author |
---|---|---|---|
#14 | 2096371-form_mode-config-schema-14.patch | 1.49 KB | vijaycs85 |
#10 | form_mode_entity_schema-2096371-10.patch | 1.23 KB | sushantpaste |
#8 | form_mode_entity_schema-2096371-8.patch | 1.28 KB | sushantpaste |
#6 | form_mode_entity_schema-2096371-5.patch | 841 bytes | siva_epari |
#4 | configuration editor form.png | 24.02 KB | siva_epari |
Comments
Comment #1
jsbalseraRaw data:
Form tab in the config inspector form view:
Comment #2
jsbalseraThere was a typo
Comment #3
vijaycs85entity_display?
Not sure about this labels. may need to make them bit short?
Comment #4
siva_epari CreditAttribution: siva_epari commentedRemoved the top comment & renamed labels of status as 'Status' and for cache as 'Cache'
Comment #6
siva_epari CreditAttribution: siva_epari commentedThe previous patch was not a proper git patch. Reuploading proper patch.
Comment #7
siva_epari CreditAttribution: siva_epari commentedComment #8
sushantpaste@Siva : patch seems to work fine. Checked with config inspector.
Here are small modification in patch with comment and label.
Comment #9
vijaycs85Thanks for your work on this issue @sushantpaste and @epari.siva. Here is some minor review comments.
we may need to update title... how about 'Configuration schema for form mode of entities' or Configuration schema for the entity form mode'
Needs a empty line at the end.
Comment #10
sushantpaste@vijaycs85: Thanks for the review. Here is updated patch.
Comment #11
vijaycs85Thanks again @sushantpaste.
these labels are looks bit wired. But they are not really show stoppers.
Comment #12
sushantpaste@vijaycs85: should we change that labels ?
Comment #13
webchick'Used for Entity type' definitely sounds weird to me, but I'm not that familiar with form modes. Marking back to needs review for vijay.
Comment #14
vijaycs85Re-rolling + label changes: As there is no UI for the fields in this schema, just using the human readable form of key as label.
Comment #15
vijaycs85Comment #16
ianthomas_ukvijaycs85's changes are a little more than #14 suggests, becuase very similar code has already been committed. His new patch updated the labels for the patch on #10 and the code that was already committed.
Comment #17
aspilicious CreditAttribution: aspilicious commentedLooks good. Glad to see this finally being done :)
Comment #18
webchickCommitted and pushed to 8.x. Thanks!