function hook_gathercontent_post_upload in GatherContent 7.3
Perform operations on all items which entered upload.
You can use this hook to create relations between nodes or creating various statistics about uploads. You can fetch type of operation from Operation entity.
Parameters
array $success: Array of arrays with successfully imported nids and their gathercontent_id.
array $unsuccess: Array of arrays with unsuccessfully imported nids and their gathercontent_id.
$operation_id: ID of operation. You can fetch Operation entity or all OperationItem entities related to Operation by this parameter.
1 invocation of hook_gathercontent_post_upload()
- gathercontent_upload_finished in ./
gathercontent.module - Finished callback.
File
- ./
gathercontent.api.php, line 109 - Hooks provided by the GatherContent module.
Code
function hook_gathercontent_post_upload(array $success, array $unsuccess, $operation_id) {
}