← all change records

#3363700 file_validate and related functions are deprecated and replaced with file.validator service and Constraint plugins

released Target 10.2.x Published 2023-06-23
#3221793 #3410126 #3437514

Generated 2026-11-20 03:00 UTC

Matching rules (8)

  • to: fqn: '\Drupal\file\Validation\FileValidator::validate'
  • from: fqn: 'fn:file_validate' to: fqn: \Drupal\file\Validation\FileValidatorInterface
  • from: fqn: 'fn:file_validate_extensions' to: fqn: \Drupal\file\Validation\FileValidatorInterface
  • from: fqn: 'fn:file_validate_size' to: fqn: \Drupal\file\Validation\FileValidatorInterface
  • from: fqn: 'fn:file_validate_image_resolution' to: fqn: \Drupal\file\Validation\FileValidatorInterface
  • from: fqn: 'fn:file_validate_name_length' to: fqn: \Drupal\file\Validation\FileValidatorInterface
  • from: fqn: 'fn:file_validate_is_image' to: fqn: \Drupal\file\Validation\FileValidatorInterface
  • from: fqn: 'fn:file_validate_extensions_on_uri' to: fqn: \Drupal\file\Validation\FileValidatorInterface

Affected contrib projects (32)

Project legacy in_flight migrated installs files adopters
webform ↗ 1 0 0 333,658 1 0
linkit ↗ 3 0 0 161,860 1 0
dropzonejs ↗ 1 0 1 77,638 1 1
exif_orientation ↗ 0 0 1 27,352 0 1
plupload ↗ 1 0 0 23,591 1 0
ldap ↗ 1 0 0 15,805 3 0
media_directories ↗ 1 0 1 6,101 1 1
lightning_media ↗ 2 0 0 5,794 3 0
audiofield ↗ 1 0 0 4,673 1 0
file_resup ↗ 1 0 1 1,778 1 1
forward ↗ 0 0 1 1,287 2 1
s3fs_cors ↗ 0 0 1 1,230 0 1
varbase_media ↗ 0 0 2 1,157 1 1
file_management ↗ 1 0 0 1,097 1 0
intelligencebank ↗ 2 0 0 596 1 0
graphql_webform ↗ 2 0 0 316 1 0
external_media ↗ 0 0 1 284 0 1
navigation_plus ↗ 0 0 1 97 0 1
dfm ↗ 0 0 1 54 2 1
image_compression ↗ 1 0 0 52 1 0
advanced_pwa ↗ 1 0 0 35 1 0
images_optimizer ↗ 1 0 0 30 2 0
daedalus ↗ 0 0 1 16 0 1
ww_publish ↗ 1 0 0 16 1 0
media_folder_management ↗ 0 0 1 11 0 2
file_update ↗ 1 0 0 10 1 0
media_widget ↗ 1 0 0 7 1 0
filefield_sources_jsonapi ↗ 1 0 0 2 1 0
ip_analyser ↗ 0 0 1 2 0 2
yoyaku ↗ 0 0 1 2 0 1
imageflow_toolkit ↗ 0 0 1 0 0 1
openai_image_for_drupal ↗ 1 0 1 0 1 1