Would it be possible to adapt Linkit so that it would not output URL of the found entity but a selected field value from the entity?

This would be useful in a number of use cases, e.g. imagine you have content type "Link" that you find via Linkit and of course you need to link not to the node itself but to the URL value in the found node.

In fact it could be even more generic -- inserted value would be based on a token, which in turn could be anything from URL to field value or the node author etc.

Could it be for Linkit core, or for an extension? Has anybody tried it? What would be the proposed approach?

Comments

vacilando’s picture

Issue summary: View changes

Expanding on the idea a bit.

anon’s picture

Issue summary: View changes
Status: Active » Closed (works as designed)

This is possible if you write your own plugin.