function phptemplate_theme

You are here

7 phptemplate.engine phptemplate_theme($existing, $type, $theme, $path)
6 phptemplate.engine phptemplate_theme($existing, $type, $theme, $path)
8 phptemplate.engine phptemplate_theme($existing, $type, $theme, $path)

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;
}

Comments

Is it theme engine is necessary to perform this operation