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/Motivation
The arguments token suggestion no longer shows the available fields (RC4).
Proposed resolution
Update the code to use the new twig style token input.
Remaining tasks
Update the code, add some tests to make sure the tokens are showing up.
User interface changes
Fixes missing available token list.
API changes
none
Comment | File | Size | Author |
---|---|---|---|
#3 | 2616870_3.patch | 6.91 KB | Jaesin |
Comments
Comment #2
jibranYeah was going to open the ticket. Thanks for pointing that out an opening the issue.
PS: No need to be over dramatic about it. :P
Comment #3
Jaesin CreditAttribution: Jaesin at Chapter Three commentedlolol
Rough draft. I know this leaves some tests a bit out of date.
Comment #6
jibranThat was fast. <3 that we have a tests for that.
We need to revert this.
Comment #7
Jaesin CreditAttribution: Jaesin at Chapter Three commentedI guess this wouldn't do anything.
Comment #8
dawehnerWorked on that indepenent ... @jaesin Do you wanna check whether beta2 fixes things for you and works as expected
Comment #9
dawehner.
Comment #12
dawehnerFixed another bug: the regex didn't supported
... field_name_1 ...
Comment #14
saru1683 CreditAttribution: saru1683 commentedI have applied patch manually, It's work on beta2, But there is a notice on dblog.
Notice: Undefined variable: values in Drupal\views_field_view\Plugin\views\field\View->getTokenArguments() line 348.
Thank you.
Comment #15
dawehner@saru1683
Do you mind checking out the dev version? Beta versions IMHO are pointless, the DEV version will always have less bugs.
Comment #16
saru1683 CreditAttribution: saru1683 commentedOkay Thnx, I will check with Dev.
Comment #17
jibranMarking as fixed as per #8.