summaryrefslogtreecommitdiff
path: root/kolab.org/www/drupal-7.26/modules/translation/tests/translation_test.module
diff options
context:
space:
mode:
Diffstat (limited to 'kolab.org/www/drupal-7.26/modules/translation/tests/translation_test.module')
-rw-r--r--kolab.org/www/drupal-7.26/modules/translation/tests/translation_test.module13
1 files changed, 13 insertions, 0 deletions
diff --git a/kolab.org/www/drupal-7.26/modules/translation/tests/translation_test.module b/kolab.org/www/drupal-7.26/modules/translation/tests/translation_test.module
new file mode 100644
index 0000000..e3bb4b5
--- /dev/null
+++ b/kolab.org/www/drupal-7.26/modules/translation/tests/translation_test.module
@@ -0,0 +1,13 @@
+<?php
+
+/**
+ * @file
+ * Mock module for content translation tests.
+ */
+
+/**
+ * Implements hook_node_insert().
+ */
+function translation_test_node_insert($node) {
+ drupal_write_record('node', $node, 'nid');
+}