diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-01-22 16:38:15 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-01-22 16:38:15 +0000 |
commit | d47f81bf92178d13b3137f61b63ce8cd40259b89 (patch) | |
tree | 219b69300075655803afe0589ab37abe38c0b24e /modules/locale | |
parent | 8ca6649f983be155821b37f3b49a7abfdfd8f8c3 (diff) | |
download | brdo-d47f81bf92178d13b3137f61b63ce8cd40259b89.tar.gz brdo-d47f81bf92178d13b3137f61b63ce8cd40259b89.tar.bz2 |
#352121 follow-up: Let's commit the test module this time, shall we? :P
Diffstat (limited to 'modules/locale')
-rw-r--r-- | modules/locale/tests/locale_test.info | 8 | ||||
-rw-r--r-- | modules/locale/tests/locale_test.module | 17 |
2 files changed, 25 insertions, 0 deletions
diff --git a/modules/locale/tests/locale_test.info b/modules/locale/tests/locale_test.info new file mode 100644 index 000000000..d3602c1b2 --- /dev/null +++ b/modules/locale/tests/locale_test.info @@ -0,0 +1,8 @@ +; $Id $ +name = "Locale Test" +description = "Support module for the locale layer tests." +core = 7.x +package = Testing +files[] = locale_test.module +version = VERSION +hidden = TRUE 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')); + } +} |