Drupal 8 - Rename URL with title "Link" text in view

By xngo on March 30, 2019

In Drupal 7, there is a formatter that you can select to display your link with title "Link" but this formatter no longer exists in Drupal 8.

In Drupal 8, what you can do is the rewrite the output of the url field like the followings:


  • Replace field_trade_url__uri with your own Replacement pattern field.
  • Expand REPLACEMENT PATTERNS section to view all avaiable tokens.

The end result will look like the followings:

About the author

Xuan Ngo is the founder of OpenWritings.net. He currently lives in Montreal, Canada. He loves to write about programming and open source subjects.