Add an adapter to link to an entity URL

Created on 26 August 2025, 2 days ago

Overview

In an XB component tree, how can you link to an entity? There is no apparent way to wire an entity's URI to a matching component prop.

Proposed resolution

Add an entity_url adapter which takes two inputs:

  • An entity UUID
  • An entity type ID (ideally this could be done with a plugin derivative, but that's a minor point)

And returns the canonical, absolute URL of the entity with that UUID.

Drupal CMS implemented this in its internal helper module (https://git.drupalcode.org/project/drupal_cms/-/blob/2.x/drupal_cms_help...), but this is something XB will almost certainly want for itself. People are gonna want to link to entities.

✨ Feature request
Status

Active

Version

1.0

Component

… to be triaged

Created by

🇺🇸United States phenaproxima Massachusetts

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

Comments & Activities

Production build 0.71.5 2024