Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem
/core/modules/views/config/schema/views.display_extender.schema.yml
is empty (0 bytes).
Obsolete schema file or is that a bug?
Comment | File | Size | Author |
---|---|---|---|
#4 | 2197877-remove-empty-views-config-4.patch | 197 bytes | kirby14 |
Comments
Comment #1
sunComment #2
dawehnerComment #3
vijaycs85Comment #4
kirby14 CreditAttribution: kirby14 commentedNo idea if this even needs a patch but here you go.
Comment #5
sunAs I'm not familiar with this code, I don't know what the appropriate action here is, but to add some more insights from IRC:
18:23 sun dawehner: but if it's a known/declared thing in Views, then I guess the config schema should declare how the (base) display extender configuration is supposed to look in terms of data types, no?
18:31 aspilicious_home dawehner: sun has a point
18:35 dawehner sun: i guess we want something like at the beginning of views.style.schema.yml
So we likely still want to delete that file, but additionally add some base plugin data type schema for display extenders in views.display.schema.yml?
Comment #6
dawehnerLet's get someone in with more knowledge of schema files.
Comment #7
vijaycs85Currently we don't have any display extender specific configuration in core (DefaultDisplayExtender has no addition options). If we need to introduce new data type, it can be something like below:
But not sure how it would add value to plugins from contrib module
Comment #8
Gábor HojtsyThe dedicated views_display_extender type would make sense if in the future core adds more properties to it by default. If not, then it is just an alternate name for mapping. AND since we don't allow schemas to change, it should not change in the future either, right? :) So don't see the use for a dedicated type until we have base data on it.
Comment #9
sunAs long as Views maintainers are fine with having no schema for display extenders (and that was @dawehner's initial response), this is good to go :-)
Comment #10
sunFixing that typo in the issue title. ;)
Comment #11
alexpottCommitted 1ca2032 and pushed to 8.x. Thanks!