By steinmb, 11 August, 2013 How to change the HTML markup in a field with a theme function in Drupal Ever wanted to change the Drupal 7 markup? Get rid of all those pesky divs? If so, this is article for you. I will give you a simple example how to do this not by changing the site theme (template.php) but by using a theme function. Tags Drupal theme function PHP code HTML Planet Drupal