Skip to content

Commit

Permalink
Link Fieldtype: Provide more context for entry links
Browse files Browse the repository at this point in the history
  • Loading branch information
duncanmcclean committed Jan 21, 2025
1 parent c663ae0 commit 2b032b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Fieldtypes/Link/ArrayableLink.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public function toArray()
#[\ReturnTypeWillChange]
public function jsonSerialize()
{
return $this->url(); // Use a string for backwards compatibility in the REST API, etc.
return $this->toArray();
}

public function url()
Expand Down

0 comments on commit 2b032b3

Please sign in to comment.