You are here

function gathercontent_update_process in GatherContent 8.3

Same name and namespace in other branches
  1. 7.3 gathercontent.module \gathercontent_update_process()

Batch operation callback.

We are doing real update thing here.

Parameters

int $gc_id: ID of content we want to import.

string $operation_uuid: UUID of operation.

string $node_update_method: Name of the node update method.

array $context: Context of operation.

1 string reference to 'gathercontent_update_process'
ContentUpdateConfirmForm::submitForm in src/Form/ContentUpdateConfirmForm.php
Form submission handler.

File

./gathercontent.module, line 888
Main module file for GatherContent module.

Code

function gathercontent_update_process($gc_id, $operation_uuid, $node_update_method, array &$context) {
  _gc_fetcher($gc_id, $operation_uuid, 0, $node_update_method);
  $context['results']['uuid'] = $operation_uuid;
}