13
modules/translation/tests/translation_test.module
Normal file
13
modules/translation/tests/translation_test.module
Normal file
@@ -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');
|
||||
}
|
||||
Reference in New Issue
Block a user