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.
Currently the render tabs show the base output from entitytype_build_content(), but not the proper output from entitytype_view() which performs the full build, as well as runs the view alter hooks. This will give us a more accurate reflection of the actual page output when debugging, as well as get rid of some customizations for taxonomy terms.
Comment | File | Size | Author |
---|---|---|---|
#3 | 992936-devel-render-tab-fix.patch | 5.7 KB | Dave Reid |
#2 | 992936-devel-render-tab-fix.patch | 5.78 KB | Dave Reid |
#1 | 992936-devel-render-tab-fix.patch | 9.11 KB | Dave Reid |
Comments
Comment #1
Dave ReidComment #2
Dave ReidGrr, didn't save the patch file before removing some other unrelated changes...
Comment #3
Dave ReidActually no need for any of the drupal_set_title()'s anymore either. I tested all the devel sub-tabs and they work just fine and show the proper title of the object being viewed.
Comment #4
moshe weitzman CreditAttribution: moshe weitzman commentedCommitted. This is a terrific patch. Thanks.
It occurs to me that we have no place to review each of the view modes for a given node/term/user etc. Maybe we should add more render subtabs for those. Right now, we just have the standard node/nid which shows the default view mode. I'm talking about already rendered HTML, not the render array.