1. 6.x developer/globals.php theme_engine
  2. 7.x developer/globals.php theme_engine

The active theme engine related to the active theme.


developer/globals.php, line 195
These are the global variables that Drupal uses.


global $theme_engine;


Jztinfinity’s picture

I believe this is first set in _init_theme (at least in D6) although obviously it could be overriden elsewhere (but I don't think it is, I wonder if then it would make more sense as a constant (since it is a string and has to be to construct certain function names), since it is intended to be constant throughout the script (and I'm not sure what the consequences of changing it mid-script would be).

Remember theme engines are circumvented for themes that use .theme files