diff --git a/core/modules/file/src/Plugin/rest/resource/FileUploadResource.php b/core/modules/file/src/Plugin/rest/resource/FileUploadResource.php index 607f258c509f03e7cf8153b9b81781c212385502..7be618c13c892d9f003002c43bfebf956e331d3d 100644 --- a/core/modules/file/src/Plugin/rest/resource/FileUploadResource.php +++ b/core/modules/file/src/Plugin/rest/resource/FileUploadResource.php @@ -208,7 +208,7 @@ public function __construct(array $configuration, $plugin_id, $plugin_definition } $this->fileValidator = $file_validator; if (!$input_stream_file_writer) { - @trigger_error('Calling ' . __METHOD__ . '() without the $input_stream_file_writer argument is deprecated in drupal:10.3.0 and is required in drupal:11.0.0. See https://www.drupal.org/node/123', E_USER_DEPRECATED); + @trigger_error('Calling ' . __METHOD__ . '() without the $input_stream_file_writer argument is deprecated in drupal:10.3.0 and is required in drupal:11.0.0. See https://www.drupal.org/node/3380607', E_USER_DEPRECATED); $input_stream_file_writer = \Drupal::service('file.input_stream_file_writer'); } $this->inputStreamFileWriter = $input_stream_file_writer; diff --git a/core/modules/jsonapi/src/Controller/TemporaryJsonapiFileFieldUploader.php b/core/modules/jsonapi/src/Controller/TemporaryJsonapiFileFieldUploader.php index 0e469ff18f447327f3114ff0b48036ed863fcbab..864f5e368107de02789ae92f7f354f4ae8d3b8fa 100644 --- a/core/modules/jsonapi/src/Controller/TemporaryJsonapiFileFieldUploader.php +++ b/core/modules/jsonapi/src/Controller/TemporaryJsonapiFileFieldUploader.php @@ -166,7 +166,7 @@ public function __construct(LoggerInterface $logger, FileSystemInterface $file_s } $this->fileValidator = $file_validator; if (!$input_stream_file_writer) { - @trigger_error('Calling ' . __METHOD__ . '() without the $input_stream_file_writer argument is deprecated in drupal:10.3.0 and is required in drupal:11.0.0. See https://www.drupal.org/node/123', E_USER_DEPRECATED); + @trigger_error('Calling ' . __METHOD__ . '() without the $input_stream_file_writer argument is deprecated in drupal:10.3.0 and is required in drupal:11.0.0. See https://www.drupal.org/node/3380607', E_USER_DEPRECATED); $input_stream_file_writer = \Drupal::service('file.input_stream_file_writer'); } $this->inputStreamFileWriter = $input_stream_file_writer;