constant FileUploadHandler::DEFAULT_EXTENSIONS in Drupal 10
The default extensions if none are provided.
File
- core/
modules/ file/ src/ Upload/ FileUploadHandler.php, line 35
Class
- FileUploadHandler
- Handles validating and creating file entities from file uploads.
Namespace
Drupal\file\UploadCode
const DEFAULT_EXTENSIONS = 'jpg jpeg gif png txt doc xls pdf ppt pps odt ods odp';