translation_test.module 207 B

12345678910111213
  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. }