Last active
August 29, 2015 14:06
-
-
Save develnk/85c958fa3392d729197b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Implements hook_theme_registry_alter(). | |
*/ | |
function hook_theme_registry_alter(&$registry) { | |
$path = drupal_get_path('module', 'my_module') . '/templates'; | |
$registry += drupal_find_theme_templates($registry, '.tpl.php', $path); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment