function nyan_cat_init
Same name in other branches
Includes .theme file from themes.
File
-
modules/
simpletest/ tests/ themes/ engines/ nyan_cat/ nyan_cat.engine, line 11
Code
function nyan_cat_init($template) {
$file = dirname($template->filename) . '/template.theme';
if (file_exists($file)) {
include_once DRUPAL_ROOT . '/' . $file;
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.