At the very minimum, we should add canonical URIs to all core-provided entity types.
This is basically a request to add the same feature as https://www.drupal.org/project/drupal/issues/1970360
Problem/Motivation
Currently, there is no central definition of the path to an entity. Sure there's its route/menu item, but we can't reverse associate from that.
Sure entities now have a uri() method, but you need an entity object for that. Also, the default implementation still uses a uri callback function, for no reason I can fathom.
...
Proposed resolution
Bite the bullet. What we really need here is to define a canonical path TEMPLATE for an entity type. When I say template, I mean the uri-template specification, RFC 6570:
http://tools.ietf.org/html/rfc6570
...
In particular, we should define multiple such patterns. One for each operation, as identified by a link. ... What does "identified by a link" mean? I mean using one of the IANA standardized link relationships (which collects relationships defined by IETF RFCs as well as the W3C):
http://www.iana.org/assignments/link-relations/link-relations.xml
It's possible to define your own, but there's plenty there we can already use.
...nodes might look something like:
links = { "canonical" = "/node/{node}", "edit-form" = "/node/{node}/edit", "create-form" = "/node/add/{entity_subtype}", "version-history" = "/node/{node}/revisions" }
D8 change record: https://www.drupal.org/node/2020491
Recent comments
If desired, you can insert <iframe> in CKEditor field by switching to the HTML editing mode using Source button. Using jQuery, make a wrapper for alignment and changing the size of <...
Best way to embed media with CKEditor
Is there a new solution to this problem? https://ckeditor.com/ Sprunki 1996 docs/ckeditor5/latest/features/media-embed.html
Best way to embed media with CKEditor
I think some discussion of https://github.com/backdrop/backdrop-issues/issues/6900 would be useful
May 15th 2025 Weekly Meetings