summaryrefslogtreecommitdiff
path: root/modules/locale/tests/locale_test.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/locale/tests/locale_test.module')
-rw-r--r--modules/locale/tests/locale_test.module17
1 files changed, 17 insertions, 0 deletions
diff --git a/modules/locale/tests/locale_test.module b/modules/locale/tests/locale_test.module
new file mode 100644
index 000000000..45b19e614
--- /dev/null
+++ b/modules/locale/tests/locale_test.module
@@ -0,0 +1,17 @@
+<?php
+// $Id $
+
+/**
+ * @file
+ * Mock module for locale layer tests.
+ */
+
+/**
+ * Implementation of hook_locale().
+ */
+function locale_test_locale($op = 'groups') {
+ switch ($op) {
+ case 'groups':
+ return array('custom' => t('Custom'));
+ }
+}