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.
Hi
I am trying to use cutom formatters to make text fields take tokens. I dont know if this is supported or if there is another way i can achieve this. i am trying to find a solution to make my ubercart attribute option to take tokens for option names.
Thanks
Comments
Comment #1
Deciphered CreditAttribution: Deciphered commentedIf you mean that you wish to have a token that is placed in a text field render out the value, yes, you could do that with a PHP custom formatter, something like: