Search for maxSize

  1. Search 7.x for maxSize
  2. Search 9.5.x for maxSize
  3. Search 8.9.x for maxSize
  4. Search 11.x for maxSize
  5. Other projects
Title Object type File name Summary
Environment::getUploadMaxSize function core/lib/Drupal/Component/Utility/Environment.php Determines the maximum file upload size by querying the PHP settings.
FileFieldValidateTest::testFileMaxSize function core/modules/file/tests/src/Functional/FileFieldValidateTest.php Tests the max file size validator.
FormBuilder::getFileUploadMaxSize function core/lib/Drupal/Core/Form/FormBuilder.php Wraps file_upload_max_size().
UploadedFileConstraint::$maxSize property core/modules/file/src/Validation/Constraint/UploadedFileConstraint.php The upload max size. Defaults to checking the environment.
UploadedFileConstraintValidatorTest::$maxSize property core/modules/file/tests/src/Kernel/Validation/UploadedFileConstraintValidatorTest.php The max 4 MB filesize to use for testing.
UploadedFileValidatorTest::$maxSize property core/modules/file/tests/src/Kernel/Validation/UploadedFileValidatorTest.php The max 4 MB filesize to use for testing.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.