We need to add some menu callbacks that if the devel module is enabled, adds a file/%file/devel local task with sub-tabs for load and render so that it is easier to inspect what is "inside" a file object or render array.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Dave Reid’s picture

Status: Active » Needs review
FileSize
2.04 KB

Patch with the necessary changes

Dave Reid’s picture

FileSize
2.35 KB

Arg.

Status: Needs review » Needs work

The last submitted patch, 1401548-devel-tabs.patch, failed testing.

Dave Reid’s picture

Status: Needs work » Fixed

Not sure what's going on with tests (#1417894: File entity tests depending on non-core file module) but I've confirmed this works perfectly and is super helpful for debugging. Committed to 7.x-2.x.

http://drupalcode.org/project/file_entity.git/commit/7df0ee4

Status: Fixed » Closed (fixed)

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