function FormUploadedFile::getSize
Same name in other branches
- 9 core/modules/file/src/Upload/FormUploadedFile.php \Drupal\file\Upload\FormUploadedFile::getSize()
- 11.x core/modules/file/src/Upload/FormUploadedFile.php \Drupal\file\Upload\FormUploadedFile::getSize()
Overrides UploadedFileInterface::getSize
File
-
core/
modules/ file/ src/ Upload/ FormUploadedFile.php, line 66
Class
- FormUploadedFile
- Provides a bridge to Symfony UploadedFile.
Namespace
Drupal\file\UploadCode
public function getSize() : int {
return $this->uploadedFile
->getSize();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.