translation_test.module

You are here

Mock module for content translation tests.

Functions

File

modules/translation/tests/translation_test.module
View source
  1. <?php
  2. /**
  3. * @file
  4. * Mock module for content translation tests.
  5. */
  6. /**
  7. * Implements hook_node_insert().
  8. */
  9. function translation_test_node_insert($node) {
  10. drupal_write_record('node', $node, 'nid');
  11. }