nid)) { $path = path_load('node/' . $node->nid); if ($path) { $export->exported_path = $path['alias']; } } } /** * Handles the loading of the current path after the node * is loaded */ function path_post_import($node) { if (isset($node->nid) && isset($node->exported_path)) { $path = array( 'source' => 'node/' . $node->nid, 'alias' => $node->exported_path, ); if (isset($node->language)) { $path['language'] = $node->language; } path_save($path); } }