Home ›
How to define a theme function to replace a core or another module's existing theme function (in a module)How to define a theme function to replace a core or another module's existing theme function (in a module)
Submitted by Benjamin Melançon on April 7, 2011 - 1:00pm
In a theme, you just override the target function.
In a module, you need to jump through some hoops.
See method 2 at http://definitivedrupal.org/resource/brutally-removing-extra-divs-preprocess-suggestions
Searched words:
theme functions in modules Drupal 7
Comments
Post new comment