You are here

function phptemplate_theme in Drupal 6

Same name and namespace in other branches
  1. 7 themes/engines/phptemplate/phptemplate.engine \phptemplate_theme()

Implementation of hook_theme().

File

themes/engines/phptemplate/phptemplate.engine, line 21
Handles integration of PHP templates with the Drupal theme system.

Code

function phptemplate_theme($existing, $type, $theme, $path) {
  $templates = drupal_find_theme_functions($existing, array(
    'phptemplate',
    $theme,
  ));
  $templates += drupal_find_theme_templates($existing, '.tpl.php', $path);
  return $templates;
}