diff --git a/core/modules/media_library/src/Form/FileUploadForm.php b/core/modules/media_library/src/Form/FileUploadForm.php index 1725f908a0..3062a184a1 100644 --- a/core/modules/media_library/src/Form/FileUploadForm.php +++ b/core/modules/media_library/src/Form/FileUploadForm.php @@ -85,7 +85,7 @@ public function __construct(EntityTypeManagerInterface $entity_type_manager, Med $this->renderer = $renderer; $this->fileSystem = $file_system; if (!$file_usage) { - @trigger_error('Calling FileUploadForm::__construct() without the file.usage service is deprecated in drupal:8.8.0 and is required in drupal:9.0.0. See https://www.drupal.org/node/3075165', E_USER_DEPRECATED); + @trigger_error('Calling FileUploadForm::__construct() without the file.usage service is deprecated in drupal:8.8.0 and the file usage service will be a required argument in drupal:9.0.0. See https://www.drupal.org/node/3075165', E_USER_DEPRECATED); $file_usage = \Drupal::service('file.usage'); } $this->fileUsage = $file_usage;