function phptemplate_theme

Implements hook_theme().

File

themes/engines/phptemplate/phptemplate.engine, line 21

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.