Unify the storage of argument default/validator/summary plugins.

Created on 14 October 2014, over 10 years ago
Updated 14 May 2025, 6 days ago

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

Remaining tasks

User interface changes

API changes

πŸ“Œ Task
Status

Postponed: needs info

Version

11.0 πŸ”₯

Component

views.module

Created by

πŸ‡©πŸ‡ͺGermany dawehner

Live updates comments and jobs are added and updated live.
  • VDC

    Related to the Views in Drupal Core initiative.

  • stale-issue-cleanup

    To track issues in the developing policy for closing stale issues, [Policy, no patch] closing older issues

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States smustgrave

    Thank you for creating this issue to improve Drupal.

    We are working to decide if this task is still relevant to a currently supported version of Drupal. There hasn't been any discussion here for over 8 years which suggests that this has either been implemented or is no longer relevant. Your thoughts on this will allow a decision to be made.

    Since we need more information to move forward with this issue, the status is now Postponed (maintainer needs more info). If we don't receive additional information to help with the issue, it may be closed after three months.

    Thanks!

Production build 0.71.5 2024