summaryrefslogtreecommitdiff
path: root/modules/update/tests/update_test.module
diff options
context:
space:
mode:
authorwebchick <webchick@24967.no-reply.drupal.org>2011-12-11 00:12:37 -0600
committerwebchick <webchick@24967.no-reply.drupal.org>2011-12-11 00:12:37 -0600
commit11d884bee7d0e00ede4cc0c3c147d787292b9b29 (patch)
tree6a0abc1a72734a854aac6b6f351d9f6b472402a8 /modules/update/tests/update_test.module
parenta2588037892138ab71f6249816fd3c909fa2ee3d (diff)
downloadbrdo-11d884bee7d0e00ede4cc0c3c147d787292b9b29.tar.gz
brdo-11d884bee7d0e00ede4cc0c3c147d787292b9b29.tar.bz2
Issue #953336 by sun: Fixed Contributed modules are not able to test theme-related functionality.
Diffstat (limited to 'modules/update/tests/update_test.module')
-rw-r--r--modules/update/tests/update_test.module9
1 files changed, 9 insertions, 0 deletions
diff --git a/modules/update/tests/update_test.module b/modules/update/tests/update_test.module
index 4acb6ef83..e7ee43eec 100644
--- a/modules/update/tests/update_test.module
+++ b/modules/update/tests/update_test.module
@@ -1,6 +1,15 @@
<?php
/**
+ * Implements hook_system_theme_info().
+ */
+function update_test_system_theme_info() {
+ $themes['update_test_basetheme'] = drupal_get_path('module', 'update_test') . '/themes/update_test_basetheme/update_test_basetheme.info';
+ $themes['update_test_subtheme'] = drupal_get_path('module', 'update_test') . '/themes/update_test_subtheme/update_test_subtheme.info';
+ return $themes;
+}
+
+/**
* Implements hook_menu().
*/
function update_test_menu() {