12
modules/translation/tests/translation_test.info
Normal file
12
modules/translation/tests/translation_test.info
Normal file
@@ -0,0 +1,12 @@
|
||||
name = "Content Translation Test"
|
||||
description = "Support module for the content translation tests."
|
||||
core = 7.x
|
||||
package = Testing
|
||||
version = VERSION
|
||||
hidden = TRUE
|
||||
|
||||
; Information added by drupal.org packaging script on 2012-08-01
|
||||
version = "7.15"
|
||||
project = "drupal"
|
||||
datestamp = "1343839327"
|
||||
|
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