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.
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.
Comment | File | Size | Author |
---|---|---|---|
#2 | 1401548-devel-tabs.patch | 2.35 KB | Dave Reid |
#1 | 1401548-devel-tabs.patch | 2.04 KB | Dave Reid |
Comments
Comment #1
Dave ReidPatch with the necessary changes
Comment #2
Dave ReidArg.
Comment #4
Dave ReidNot 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