13 calls to Environment::getUploadMaxSize()

CKEditor5ImageController::upload in core/modules/ckeditor5/src/Controller/CKEditor5ImageController.php
Uploads and saves an image from a CKEditor 5 POST.
EditorImageDialog::buildForm in core/modules/editor/src/Form/EditorImageDialog.php
editor_image_upload_settings_form in core/modules/editor/editor.admin.inc
Subform constructor to configure the text editor's image upload settings.
FileItem::fieldSettingsForm in core/modules/file/src/Plugin/Field/FieldType/FileItem.php
Returns a form for the field-level settings.
FileItem::getUploadValidators in core/modules/file/src/Plugin/Field/FieldType/FileItem.php
Retrieves the upload validators for a file field.
FileUploadHandlerTest::testFileSaveUploadSingleErrorFormSize in core/modules/file/tests/src/Kernel/FileUploadHandlerTest.php
Tests file size upload errors.
FileUploadResource::getUploadValidators in core/modules/file/src/Plugin/rest/resource/FileUploadResource.php
Retrieves the upload validators for a field definition.
file_save_upload in core/modules/file/file.module
Saves file uploads to a new location.
FormBuilder::getFileUploadMaxSize in core/lib/Drupal/Core/Form/FormBuilder.php
Wraps file_upload_max_size().
ImportForm::buildForm in core/modules/locale/src/Form/ImportForm.php
Form constructor for the translation import screen.
LegacyFileTest::testFileSaveUploadSingleErrorFormSize in core/modules/file/tests/src/Kernel/LegacyFileTest.php
Tests file size upload errors.
TemporaryJsonapiFileFieldUploader::getUploadValidators in core/modules/jsonapi/src/Controller/TemporaryJsonapiFileFieldUploader.php
Retrieves the upload validators for a field definition.
_file_save_upload_single in core/modules/file/file.module
Saves a file upload to a new location.

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