One of the new features in Drupal 7 is dynamic theme function names. Much like the dynamic template file names that are in both d6 and d7. theme_field() is a good example of this. But basically you can have targeted theme_field__* implementations. It would be nice if devel_themer could display these candidate function names just like it displays candidate template file names.

Comments

eojthebrave’s picture

Status: Active » Needs review
StatusFileSize
new1.23 KB
new163.17 KB

Here's a stab at making this happen. Before/After screen shot attached as well.

kenneth.venken’s picture

StatusFileSize
new734 bytes

Yes, this should definitely be part of theme developer 7.

It's probably better to replace the theme_ prefix with the name of the current theme. I've attached a patch that does this. It should be applied after the patch in #1.

kenneth.venken’s picture

StatusFileSize
new987 bytes

Rebased to the latest 7.x-1.x branch.

kenneth.venken’s picture

Status: Needs review » Fixed

Commited to 7.x-1.x.

Status: Fixed » Closed (fixed)

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