function hook_node_import_task in Node import 6
This hook is invoked when a task is loaded, inserted, deleted, resumed or suspended.
It allows other modules to act on these events.
Parameters
$task: Task object or task ID (for 'delete').
$op: Operation. One of: 'load', 'insert', 'delete', 'continue', 'pause'.
Return value
Nothing.
Related topics
4 invocations of hook_node_import_task()
- node_import_delete_task in ./
node_import.inc - Delete an import task.
- node_import_do_task in ./
node_import.inc - Import a number of rows from the specified task. Should only be called from within hook_cron() or from a JS callback as this function may take a long time.
- node_import_load in ./
node_import.module - Load an import task by id. Used in hook_menu().
- node_import_save_task in ./
node_import.inc - Create a new import task.
File
- ./
node_import.api.php, line 548 - Explanation of the Node import hooks.
Code
function hook_node_import_task($task, $op) {
}