You are here

function i18n_sync_node_insert in Internationalization 7

Implements hook_node_insert().

File

i18n_sync/i18n_sync.module, line 174
Internationalization (i18n) package. Synchronization of translations

Code

function i18n_sync_node_insert($node) {

  // When creating a translation, there are some aditional steps, different from update
  if (i18n_sync_node_check($node) && !empty($node->translation_source)) {
    i18n_sync_node_update($node);
  }
}