function translation_test_node_insert

Implements hook_node_insert().

File

modules/translation/tests/translation_test.module, line 11

Code

function translation_test_node_insert($node) {
    drupal_write_record('node', $node, 'nid');
}

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