Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 291721

Make it possible to link to an entity by UUID

$
0
0

Problem/Motivation

It would be great to provide URLs with UUIDs in their so you can link to them.

Proposed resolution

Add a new entity link format: /uuid/{entity_type}/{uuid}
To avoid content available on different URLs, UUID should redirect to canonical one, e.g. /uuid/node/68d0a104-a5bf-466c-a429-f871d91f9580 should redirect to /node/3.
Allow URIs like entity:node/68d0a104-a5bf-466c-a429-f871d91f9580
Add a new uuid link template for entities:

$node->toUrl('uuid');

Remaining tasks

User interface changes

API changes

None


Viewing all articles
Browse latest Browse all 291721

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>