slick.js - How to attach a link to a Drupal slick slide paragraph using link from the image media? - Stack Overflow

I'm working on a Drupal 10 site where we have a entity reference paragraph used to include multipl

I'm working on a Drupal 10 site where we have a entity reference paragraph used to include multiple types on paragraphs. One paragraph type is for slideshows rendered with Slick. These include images and captions, where some of the Media used for images include a link field.

I'm trying to attach these links to the slide image so the user can click the image and follow the link. I've tried preprocess_slick, preprocess_field and my image formatter. I've seen the link in the structure but it's never attached properly.

Will editing one of the theme preprocess functions work or am I going about this the wrong way?

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745554275a4632720.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信