When user has implemented a separate theme_ functions, it is required to implement _theme hook to describe that. This is needed when transferring 5.x -> 6.x drupal.

Comments

nekobul’s picture

More information on the issue. _theme hook need is not detected when theme_ functions are implemented in a separate .inc files.

nancydru’s picture

Mine are in the same file and it is not being flagged. It has been detected in the past, so a recent change affected this.

stella’s picture

It works for me. I tested it with the 'faq' module (where I removed the faq_theme() function) and in 'tagadelic' (not yet ported to D6). I'm using the latest 6.x dev version.

Cheers,
Stella

nancydru’s picture

Sorry, I should have posted when I discovered that I did already have a hook_theme, it just didn't include an entry for one of the theme functions.

nekobul’s picture

I have encountered the problem when porting the taxonomy access module. It didn't detect theme_ functions defined in taxonomy_access_admin.inc . It may have something to do with the way the .inc file is included in the .module file.

klausi’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)

Coder for Drupal 6 is now frozen and only security fixes will be applied. Feel free to update this issue and reopen against 7.x-2.x or 8.x-2.x.