function phptemplate_theme

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

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/themes!engines!phptemplate!phptemplate.engine/function/phptemplate_theme/7.x