Expose views settings & arguments

Created on 16 May 2023, about 2 years ago
Updated 17 May 2023, about 2 years ago

Problem/Motivation

Would be cool if this module could be a wholesale replacement for this tutorial:

https://sitestudiodocs.acquia.com/7.1/tutorials/creating-drupal-view-com...

I'm not certain how well the views api is at revealing views argument configurations, but it would be amazing if we can introspect data types, and populate dropdowns from whatever the views argument definition defines, eg populate a dropdown of taxonomy terms, etc.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

✨ Feature request
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ͺπŸ‡¨Ecuador jwilson3

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @jwilson3
  • πŸ‡ΊπŸ‡ΈUnited States kevinquillen

    I agree, I did not know that page existed and this module makes that redundant. Those docs would mean making a custom element per View, instead of this module which makes one element where you select the View.

    One area of trouble implementing multiple custom arguments is that there is no field type in Site Studio that can accept an array. So if you wanted to pass mulitple terms, in this case, I don't think you can. The form tokens in Site Studio are not like regular Drupal tokens nor is there a way to 'process' the input and concatenate it (+ or ,) for Views.

Production build 0.71.5 2024