diff options
Diffstat (limited to 'modules/translation/tests/translation_test.module')
-rw-r--r-- | modules/translation/tests/translation_test.module | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/modules/translation/tests/translation_test.module b/modules/translation/tests/translation_test.module new file mode 100644 index 000000000..2bb860d6f --- /dev/null +++ b/modules/translation/tests/translation_test.module @@ -0,0 +1,14 @@ +<?php +// $Id$ + +/** + * @file + * Mock module for content translation tests. + */ + +/** + * Implements hook_node_insert(). + */ +function translation_test_node_insert($node) { + drupal_write_record('node', $node, 'nid'); +} |