11 calls to Environment::getUploadMaxSize() in Drupal 8
- 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.
- FileModuleTest::testFileSaveUploadSingleErrorFormSize in core/
modules/ file/ tests/ src/ Kernel/ FileModuleTest.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_upload_max_size in core/
includes/ file.inc - Determines the maximum file upload size by querying the PHP settings.
- 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.
- 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.