dynamic values for custom tokens?

Created on 26 September 2017, about 7 years ago
Updated 2 May 2023, over 1 year ago

Hi
I understand that D8 version cannot use PHP snippets to evaluate tokens, but what options are available for generation of token values? Can we use / manipulate existing tokens in any way or can we only set static values?
Ideally I would like to my custom token to be take my node's "field_video" value but if this is empty then take the node's url. Is something like this possible?
Thanks for tolerating a likely dumb question.
Jono.

Feature request
Status

Active

Component

Code

Created by

🇪🇸Spain jonodunnett

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.

Production build 0.71.5 2024