function hook_node_import_complete in Node import 5
Allows a module to react to the completed set of node imports.
After all the nodes have been created or an attempt to create them has failed node_import_complete fires this hook so other modules can react on it.
Parameters
$type: A string containing the node type currently being processed.
Return value
Nothing.
1 invocation of hook_node_import_complete()
- _node_import_get_nodes in ./
node_import.module - Import and create nodes.
File
- docs/
node_import_hook_docs.php, line 142 - Documentation for hooks provided by the node_import module.
Code
function hook_node_import_complete($type) {
// This hook is not used for actually importing the node (as are the other
// hooks), but rather to inform a third-party module of the fact that all
// nodes have been imported.
return;
}