Let say we have theme function in module A theme_super_a()
, this function returning some HTML. I want to write function in my own module (let's call it B) where I can get output of theme_super_a()
manipulate it and return back to Drupal theme system. How can I do it?
Notice that I'm not interested in overriding whole theme with hook_theme_registry_alter(&$theme_registry)
.