Issue #3413668: support new upload validators of Drupal 10.2+
Closes #3413668
Add support for the API changes to the upload validators introduced in Drupal 10.2+: https://www.drupal.org/node/3363700.
Closes #3413668
Add support for the API changes to the upload validators introduced in Drupal 10.2+: https://www.drupal.org/node/3363700.