Link field rendering as entity:node/2 instead of just /node/2

Created on 7 December 2023, 12 months ago
Updated 14 December 2023, 12 months ago

Problem/Motivation

I'd like to use this to rewrite the link field URL for internal and external links. When replacing with the block token, it includes /entity: and breaks the link.

Steps to reproduce

I updated the .info file to use with D10 (if that's the issue - I apologize)
Create a Link field in a block
In a text area field using token browser I select the URL portion - in this case [block_content:field_button_link:uri]
It renders on the page with /entity:node/2 (for node ID 2)

Proposed resolution

I don't have one :(

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Closed: works as designed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States imrodmartin

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024