Link fields currently pass:

'uri' => string(13) "entity:node/5"
'title' => string(14) "Link text test"
'options' => array(0)

Update this to additionally pass the URL object:

'uri' => string(13) "entity:node/5"
'title' => string(14) "Link text test"
'options' => array(0)
'url' => $url"

Comments

scott_euser created an issue. See original summary.

scott_euser’s picture

scott_euser’s picture

Status: Active » Needs review
scott_euser’s picture

Missing use statement in patch.

  • scott_euser committed 3176b7f on 8.x-1.x
    Issue #3035927 by scott_euser: Pass URL for link fields
    
scott_euser’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.