← 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-06-03 14:00 UTC

Matching rules (8)

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

Affected contrib projects (39)

Project legacy in_flight migrated installs files adopters
webform 1 0 0 350,386 1 0
imce 0 0 0 186,995 2 1
linkit 2 0 0 167,262 1 0
entity_browser 0 0 0 81,497 1 0
dropzonejs 1 0 1 63,014 1 1
editor_file 0 0 0 31,620 1 0
plupload 1 0 0 27,088 1 0
ldap 1 0 0 16,100 3 0
media_directories 1 0 0 6,148 1 1
audiofield 1 0 0 5,877 1 0
lightning_media 2 0 0 5,464 3 0
graphql 0 0 0 2,541 1 0
fillpdf 0 0 0 2,154 2 0
file_resup 0 0 1 1,866 1 1
forward 0 0 1 1,403 2 1
file_management 1 0 0 1,039 1 0
intelligencebank 1 0 0 779 1 0
varbase_media 0 0 3 732 1 1
graphql_webform 2 0 0 123 1 0
image_compression 1 0 0 72 1 0
dfm 0 0 1 65 2 1
advanced_pwa 1 0 0 61 1 0
images_optimizer 1 0 0 33 2 0
ww_publish 1 0 0 19 1 0
media_folder_management 0 0 1 16 0 2
media_widget 1 0 0 9 1 0
file_update 1 0 0 7 1 0
filefield_sources_jsonapi 1 0 0 5 1 0
openai_image_for_drupal 1 0 0 2 1 0
az_blob_fs 0 0 0 0 1 0
image_style_warmer 0 0 0 0 1 0
islandora 0 0 0 0 1 0
media_bulk_upload 0 0 0 0 1 0
paragraphs_summary_token 0 0 0 0 1 0
photos 0 0 0 0 2 0
react_comments 0 0 0 0 1 0
simpleavs 0 0 0 0 2 0
tinypng 0 0 0 0 1 0
webform_protected_downloads 0 0 0 0 1 0