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.
By belliott71 on
I have a views block setup and have it setup to rewrite the output. One of my outputs is an image and I am using a token to generate the output. How do I add a class to the image token so that it is included in img tag?
Thanks
Brad
Comments
The only clean way I can
The only clean way I can think of is to define your own token in code and create the class based on the context.
I like cookies!