Skip to content
Snippets Groups Projects
Commit f62fdd92 authored by Angie Byron's avatar Angie Byron
Browse files

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

parent bd4809c9
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -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));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment