It would be great if the file usage list (file/FID/usage) included the entity ID.

Links to nodes where a file is directly uploaded via a field on the node is great, but we use a lot of paragraphs - so the files are attached to the paragraph entities, not directly to the nodes. With the paragraph entity ID I can track down the entity in question and then figure out what node *it's* attached to.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

KaseyMK created an issue. See original summary.

Kasey_MK’s picture

I don't see how to get the dev versions in a way to make a commit/patch, and I'm not sure how to test things. I'd appreciate any help moving this forward, assuming others see the value in it.

joseph.olstad’s picture

You've got two choices here, either re-order the items in the code or re-order the items in the tests.

Try this, maybe it will work.

joseph.olstad’s picture

Issue summary: View changes
Status: Active » Needs review

looks ok, but like I said , you could alternatively update the tests to handle your original patch.
either way. depends on if you really want the order that way you'd have to update the tests.

joseph.olstad’s picture

BTW, the tests are in the file_entity folder , you'll see them there, it is php code
to use them to test locally you need to enable the core testing module, built into Drupal 7 core.
there's information widely available on how to use the testing software built into Drupal 7 core. They're commonly called simpletests.