FileUploadHandler::DEFAULT_EXTENSIONS
Same name in other branches
- 9 core/modules/file/src/Upload/FileUploadHandler.php \Drupal\file\Upload\FileUploadHandler::DEFAULT_EXTENSIONS
- 11.x core/modules/file/src/Upload/FileUploadHandler.php \Drupal\file\Upload\FileUploadHandler::DEFAULT_EXTENSIONS
The default extensions if none are provided.
File
-
core/
modules/ file/ src/ Upload/ FileUploadHandler.php, line 42
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';
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.