Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Currently it is already possible to link to the entity by using the "Rendered Entity" field. However it might be useful to have a simple field for just invoking entity_uri()
.
I will provide a patch if this is a wanted feature.
Comment | File | Size | Author |
---|---|---|---|
#3 | drupal-1435676-3.patch | 4.83 KB | dawehner |
Comments
Comment #1
fagoWe already have a views handler for URIs in general. Furthermore #1422848: Optionally expose computed properties as views fields is about to do exactly that just as example, but requires the "url" property to exist.
From what I've seen the URL handler could need some improvements though. Thus, I'd be happy if you could have a look at that!
Comment #2
fubhy CreditAttribution: fubhy commentedOh.. I didn't see that one. Will check it out later and see what I can do.
Comment #3
dawehnerJust a patch to get the ball rolling.
Comment #4
Chris Matthews CreditAttribution: Chris Matthews as a volunteer commentedThe 6 year old patch in #3 to entity.info, entity.views.inc and entity_views_handler_field_entity_uri.inc applied cleanly to the latest entity 7.x-1.x-dev, but still needs review.