\Drupal::logger('file')->notice(t('Copied file %source has been renamed to %destination',array('%source'=>$source->filename,'%destination'=>$file->getFilename())));
\Drupal::logger('file')->notice('Copied file %source has been renamed to %destination',array('%source'=>$source->filename,'%destination'=>$file->getFilename()));
}
}
}
}
...
@@ -158,7 +158,7 @@ function hook_file_move(Drupal\file\FileInterface $file, Drupal\file\FileInterfa
...
@@ -158,7 +158,7 @@ function hook_file_move(Drupal\file\FileInterface $file, Drupal\file\FileInterfa
\Drupal::logger('file')->notice(t('Moved file %source has been renamed to %destination',array('%source'=>$source->filename,'%destination'=>$file->getFilename())));
\Drupal::logger('file')->notice('Moved file %source has been renamed to %destination',array('%source'=>$source->filename,'%destination'=>$file->getFilename()));