translation_test.module
Mock module for content translation tests.
File
drupal-7.x/modules/translation/tests/translation_test.moduleView source
- <?php
-
- /**
- * @file
- * Mock module for content translation tests.
- */
-
- /**
- * Implements hook_node_insert().
- */
- function translation_test_node_insert($node) {
- drupal_write_record('node', $node, 'nid');
- }