Problem/Motivation
It's not possible to load a view with a disabled display from YAML or to disable a view display and then save the view, as the display schema lacks the enabled key.
Proposed resolution
Update the display schema to add the enabled key.
Remaining tasks
User interface changes
None.
API changes
None.
| Comment | File | Size | Author |
|---|---|---|---|
| #14 | 2410539-disabled-display-schema-14.patch | 9.99 KB | jibran |
| #14 | interdiff.txt | 741 bytes | jibran |
Comments
Comment #1
larowlansomething like this?
Comment #2
cafuego commentedYup, something like that. Cheers :-)
Comment #3
cafuego commentedComment #6
cafuego commented'ave another go.
Comment #9
cafuego commentedlarowlan++
Another go, with fixed up tests.
Comment #11
cafuego commentedComment #12
gábor hojtsyWhy add this on each view config one by one instead of on the views_display base definition?
Comment #13
jibranOk let's try this.
Comment #14
jibranNow with the correct tested fix. This should be green.
Comment #16
kattekrab commentednicely done. RTBC.
Comment #17
alexpottThis issue is a normal bug fix, and doesn't include any disruptive changes, so it is allowed per https://www.drupal.org/core/beta-changes. Committed 63ef606 and pushed to 8.0.x. Thanks!
Fixed spelling mistakes on commit.