public static function S3fsFileMigrationBatchInterface::copyOperation in S3 File System 4.0.x
Same name and namespace in other branches
- 8.3 src/Batch/S3fsFileMigrationBatchInterface.php \Drupal\s3fs\Batch\S3fsFileMigrationBatchInterface::copyOperation()
Batch operation callback that copy files to S3 File System.
Parameters
array $config: Array of configuration settings from which to configure the client.
array $file_paths: Array with file paths to process.
int $total: Total number of files to process in batch.
string $source_folder: Folder from copy the file.
string $target_folder: Folder to copy the file.
string $scheme: Scheme from copy files. E.g.: public.
array $uploadOptions: Options to control upload operations.
array|\DrushBatchContext $context: Batch context.
1 method overrides S3fsFileMigrationBatchInterface::copyOperation()
- S3fsFileMigrationBatch::copyOperation in src/
Batch/ S3fsFileMigrationBatch.php - Batch operation callback that copy files to S3 File System.
File
- src/
Batch/ S3fsFileMigrationBatchInterface.php, line 66
Class
- S3fsFileMigrationBatchInterface
- Interface for SFS3fsFileMigrationBatch.
Namespace
Drupal\s3fs\BatchCode
public static function copyOperation(array $config, array $file_paths, $total, $source_folder, $target_folder, $scheme, array $uploadOptions, &$context);