10 calls to Environment::getUploadMaxSize() in Drupal 10
- 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.
- TemporaryJsonapiFileFieldUploader::getUploadValidators in core/
modules/ jsonapi/ src/ Controller/ TemporaryJsonapiFileFieldUploader.php - Retrieves the upload validators for a field definition.