diff --git a/core/modules/migrate/src/Plugin/migrate/process/FileCopy.php b/core/modules/migrate/src/Plugin/migrate/process/FileCopy.php index 25eb5b4..2df4311 100644 --- a/core/modules/migrate/src/Plugin/migrate/process/FileCopy.php +++ b/core/modules/migrate/src/Plugin/migrate/process/FileCopy.php @@ -21,10 +21,10 @@ * if a duplicate exists. * * The source value is an array of two values: - * - source: The source path or URI, e.g. /path/to/foo.txt or - * public://bar.txt. - * - destination: The destination path or URI, e.g. /path/to/bar.txt or - * public://foo.txt. + * - source: The source path or URI, e.g. '/path/to/foo.txt' or + * 'public://bar.txt'. + * - destination: The destination path or URI, e.g. '/path/to/bar.txt' or + * 'public://foo.txt'. * * Available configuration keys: * - move: (optional) Boolean, if TRUE, move the file, otherwise copy the file. @@ -116,7 +116,7 @@ public static function create(ContainerInterface $container, array $configuratio } /** - * Performs the associated process. + * Copies a file between the source and destination given by $value. * * @param string $value * The input string. @@ -129,7 +129,7 @@ public static function create(ContainerInterface $container, array $configuratio * with the $row above. * * @return string - * The sub string of $value. + * The final destination of the copied file. * * @throws \Drupal\migrate\MigrateException */