Full ELMS Learning Network documentation
function phptemplate_theme
cis7 phptemplate.engine | phptemplate_theme($existing, $type, $theme, $path) |
cle7 phptemplate.engine | phptemplate_theme($existing, $type, $theme, $path) |
elmsmedia7 phptemplate.engine | phptemplate_theme($existing, $type, $theme, $path) |
icor7 phptemplate.engine | phptemplate_theme($existing, $type, $theme, $path) |
meedjum_blog7 phptemplate.engine | phptemplate_theme($existing, $type, $theme, $path) |
mooc7 phptemplate.engine | phptemplate_theme($existing, $type, $theme, $path) |
Implements 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($theme));
$templates += drupal_find_theme_templates($existing, '.tpl.php', $path);
return $templates;
}