If you wont to use linkit for files you can only use it with file_entity 2.0 unstable.
This means that you can't use it on sites which use media 1.0 since media 2.0 is still a bit too young for production.
I'm not sure if this is by design, or if it's a bug, that it cant find file_entity if it's part of the media module (which is the case for media 1.0)

Really love your module. And so are our site editors ;-)

Comments

mallezie’s picture

Reading comments in the code helps alot ;-)

 * Linkit supports all entities that have an "uri callback" defined out of the
 * box. See "hook_entity_info" for more info.

Seems that File_entity doesn't define this uri_callback.
Opened new issue in the Media Queue

mallezie’s picture

Component: Miscellaneous » Documentation

Managed to get it to work with Media V1.
2 patches needed.
1 for media V1: #1561012: Define the "uri callback" for file entities (1.x)
One for linkit to override file_access check: #1554940: Managed file support

Setting this issue to documentation. Please close if this is a no-fix. I'm glad i got it working, and just wanted to share here.

anon’s picture

Title: Linkit files only with file_entity 2.0 unstable » document that Linkit files only with file_entity 7.x-2.x
Category: bug » task
Status: Active » Fixed

This is added to the README file.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.