You are here

function i18n_sync_node_check in Internationalization 7

Check whether this node is to be synced

2 calls to i18n_sync_node_check()
i18n_sync_node_insert in i18n_sync/i18n_sync.module
Implements hook_node_insert().
i18n_sync_node_update in i18n_sync/i18n_sync.module
Implements hook_node_update().

File

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

Code

function i18n_sync_node_check($node) {
  return translation_supported_type($node->type) && i18n_object_langcode($node) && i18n_sync();
}