Replace default arguments with token arguments textfield

Created on 28 December 2018, almost 6 years ago
Updated 15 April 2024, 7 months ago

Hi Pol,

I'm stumbled upon one of your nice projects again :) I'm just missing some dynamic behavior on the arguments option. I think it would be much more powerful if it were replaced with a simple textfield that accepts tokens. This way you can provide almost any arguments you are using in your view that you want to embed. As the entity ID is probably the only thing you need to provide for tokens of the current default arguments.

If you like the idea I'll see if I can provide a patch for you. I'm just not sure how it would work to keep backwards compatibility. Migrate the argument settings to the textfield in token format through a hook update maybe?

Hope to be back in bxls soon next year ;)

Feature request
Status

Active

Version

1.0

Component

Code

Created by

🇧🇪Belgium alexverb

Live updates comments and jobs are added and updated live.
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.

  • 🇩🇪Germany demonde

    This text and the link are obvoiusly not up-to-date.

    Anyway it would be very great to have tokens for creating a view display.

    Version 8.x-2.x
    
    Under heavy development.
    
    Could you please test it and give me some feedback on the issue queue or on Github ?
    
    New features:
    
        You can have as many arguments as you want, strings or token, there is no limit
        Docker backend for development and tests
        Tested with Behat
    
Production build 0.71.5 2024