17 string references to 'file_validate_extensions' in Drupal 10
- EditorImageDialog::buildForm in core/
modules/ editor/ src/ Form/ EditorImageDialog.php - FileItem::getUploadValidators in core/
modules/ file/ src/ Plugin/ Field/ FieldType/ FileItem.php - Retrieves the upload validators for a file field.
- FileTestForm::submitForm in core/
modules/ file/ tests/ file_test/ src/ Form/ FileTestForm.php - Form submission handler.
- FileTestSaveUploadFromForm::validateForm in core/
modules/ file/ tests/ file_test/ src/ Form/ FileTestSaveUploadFromForm.php - Form validation handler.
- FileUploadHandler::handleExtensionValidation in core/
modules/ file/ src/ Upload/ FileUploadHandler.php - Gets the list of allowed extensions and updates the validators.
- FileUploadResource::getUploadValidators in core/
modules/ file/ src/ Plugin/ rest/ resource/ FileUploadResource.php - Retrieves the upload validators for a field definition.
- FileUploadResource::prepareFilename in core/
modules/ file/ src/ Plugin/ rest/ resource/ FileUploadResource.php - Prepares the filename to strip out any malicious extensions.
- ImageWidget::formElement in core/
modules/ image/ src/ Plugin/ Field/ FieldWidget/ ImageWidget.php - ImportForm::buildForm in core/
modules/ locale/ src/ Form/ ImportForm.php - Form constructor for the translation import screen.
- ManagedFile::processManagedFile in core/
modules/ file/ src/ Element/ ManagedFile.php - Render API callback: Expands the managed_file element type.
- template_preprocess_file_upload_help in core/
modules/ file/ file.field.inc - Prepares variables for file upload help text templates.
- TemporaryJsonapiFileFieldUploader::getUploadValidators in core/
modules/ jsonapi/ src/ Controller/ TemporaryJsonapiFileFieldUploader.php - Retrieves the upload validators for a field definition.
- TemporaryJsonapiFileFieldUploader::prepareFilename in core/
modules/ jsonapi/ src/ Controller/ TemporaryJsonapiFileFieldUploader.php - Prepares the filename to strip out any malicious extensions.
- test_theme_settings_form_system_theme_settings_alter in core/
modules/ system/ tests/ themes/ test_theme_settings/ theme-settings.php - Implements hook_form_system_theme_settings_alter().
- test_theme_theme_form_system_theme_settings_alter in core/
modules/ system/ tests/ themes/ test_theme_theme/ test_theme_theme.theme - Implements hook_form_system_theme_settings_alter().
- ThemeSettingsForm::buildForm in core/
modules/ system/ src/ Form/ ThemeSettingsForm.php - UpdateManagerInstall::submitForm in core/
modules/ update/ src/ Form/ UpdateManagerInstall.php - Form submission handler.