HostEntityUrlPropSource shouldn't be specific to the host entity

Created on 31 October 2025, 10 days ago

Overview

In a content template, how can I link to an entity? Active introduced HostEntityUrlPropSource but it supports only the host entity. However, there are many valid use cases to link to entities that are other than the host entity; for example, if you are rendering tags, you may want to link to the taxonomy term canonical page to list more content with the same tag or you may want to link to the users profile.

Proposed resolution

Expand this feature to ensure all entities that may be accessed in content templates, not just the host entity, can be used in link props.

User interface changes

🐛 Bug report
Status

Postponed: needs info

Version

1.0

Component

Data model

Created by

🇫🇮Finland lauriii Finland

Live updates comments and jobs are added and updated live.
  • Needs product manager review

    It is used to alert the product manager core committer(s) that an issue represents a significant new feature, UI change, or change to the "user experience" of Drupal, and their signoff is needed. If an issue significantly affects the usability of Drupal, use Needs usability review instead (see the governance policy draft for more information).

Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024