Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Problem/Motivation
The current structure of the arguments section of views YML files is really unstructured:
default_argument_type: fixed
default_argument_options:
argument: ''
default_argument_skip_url: false
summary_options:
base_path: ''
count: true
items_per_page: 25
override: false
summary:
sort_order: asc
number_of_records: 0
format: default_summary
specify_validation: true
validate:
type: 'entity:taxonomy_term'
fail: 'not found'
Proposed resolution
Let's unify the storage in the same way as we did on the main display:
access:
type: none
options: { }
provider: views
cache:
type: none
options: { }
provider: views
exposed_form:
type: basic
options:
submit_button: Apply
reset_button: false
reset_button_label: Reset
exposed_sorts_label: 'Sort by'
expose_sort_order: true
sort_asc_label: Asc
sort_desc_label: Desc
provider: views
Comments
Comment #1
dawehner.
Comment #2
mrf CreditAttribution: mrf at Chapter Three commentedConfirmed that format is still as reported in HEAD by looking at arguments section of views.view.glossary.yml export.
Changing to task since current format seems to work as implemented.
Recommending priority should stay as Major since this represents a significant DX enhancement.
Comment #3
xjm(Saving proposed issue credit for discussion and triage participants at LA.)