Search for maxSize

  1. Search 7.x for maxSize
  2. Search 9.5.x for maxSize
  3. Search 10.3.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.
FileSystemDeprecationTest::testDeprecatedFileUploadMaxSize function core/tests/Drupal/KernelTests/Core/File/FileSystemDeprecationTest.php @expectedDeprecation file_upload_max_size() is deprecated in Drupal 8.7.0 and will be removed before Drupal 9.0.0. Use \Drupal\Component\Utility\Environment::getUploadMaxSize() instead. See https://www.drupal.org/node/3000058.
FormBuilder::getFileUploadMaxSize function core/lib/Drupal/Core/Form/FormBuilder.php Wraps file_upload_max_size().

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