Overriding Themable Functions

The preceding section demonstrated how to work with the default tpl.php files to modify your theme. Each of these files represents an override to a themable function from the Drupal core. While theme_page, theme_node, theme_comment, theme_box, and theme_block may be the most important themable functions, and thus have the greatest and most direct impact on the appearance of your site, they are by no means the only functions that are available for modification. Core Drupal includes dozens more themable functions, and most contributed modules add to the list as well. Learning how to find and override any themable function you wish is essential to having full mastery over your Drupal site.

0 0

Post a comment