In 7.33, the theme_debug variable and related functionality was introduced. This added an optional sitewide theme debug mode, to provide contextual information in the page's HTML to theme developers.
Outside of the release notes and other documentation on drupal.org, this variable and functionality are not very visible. This should be added to default.settings.php to make it easier to find and use.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | add-theme-debug-2538640-4.patch | 917 bytes | rrrob |
| #1 | add-theme-debug-2538640-1.patch | 857 bytes | rrrob |
Comments
Comment #1
rrrob commentedComment #2
cilefen commentedComment #3
David_Rothstein commentedSounds like a good idea to me. Changing status so the issue can be reviewed.
For comparison here's how Drupal 8 documents it in sites/default/default.services.yml:
Comment #4
rrrob commentedAdded link to documentation.
Comment #5
dawehnerWe could use a similar description pointing out that this is documentation.
Comment #6
David_Rothstein commentedCommitted to 7.x - thanks!
I agree with @dawehner, so I fixed that part on commit: