Commit f62fdd92 authored by webchick's avatar webchick

#664806 by jhodgdon: Fixed phptemplate_theme() doc headers standardization.

parent bd4809c9
......@@ -3,9 +3,12 @@
/**
* @file
* Handles integration of templates written in pure php with the Drupal theme system.
* Handles integration of PHP templates with the Drupal theme system.
*/
/**
* Implements hook_init().
*/
function phptemplate_init($template) {
$file = dirname($template->filename) . '/template.php';
if (file_exists($file)) {
......@@ -14,10 +17,7 @@ function phptemplate_init($template) {
}
/**
* Implements hook_theme to tell Drupal what templates the engine
* and the current theme use. The $existing argument will contain hooks
* pre-defined by Drupal so that we can use that information if
* we need to.
* Implements hook_theme().
*/
function phptemplate_theme($existing, $type, $theme, $path) {
$templates = drupal_find_theme_functions($existing, array($theme));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment