Please Disable Your Browser Adblock Extension for our site and Refresh This Page!

our ads are user friendly, we do not serve popup ads. We serve responsible ads!

Refresh Page
Skip to main content
On . By CodimTh
Category:

Drupal 8 Paragraphs Extract URL from link field

 

Example how to extract URL from link field in Paragraphs in Drupal 8 & 9

 

// For extracting the URL

{{paragraph.field_carousel_link.get(0).getUrl().toString()}}

// For Extracting the Link Title

{{paragraph.field_carousel_link.title}}

Comments

Add new comment

Restricted HTML

Search

Page Facebook

Become a patron

If you need some help or you search a Drupal freelancer don't hesitate to contact us.

 

Contact Us

All the content is FREE but I still need your help

 

Become a patreon