translation_test.module

Mock module for content translation tests.

File

modules/translation/tests/translation_test.module

View 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');
}

Functions

Title Deprecated Summary
translation_test_node_insert Implements hook_node_insert().

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.