function FormBuilder::getFileUploadMaxSize
Same name in other branches
- 9 core/lib/Drupal/Core/Form/FormBuilder.php \Drupal\Core\Form\FormBuilder::getFileUploadMaxSize()
- 8.9.x core/lib/Drupal/Core/Form/FormBuilder.php \Drupal\Core\Form\FormBuilder::getFileUploadMaxSize()
- 10 core/lib/Drupal/Core/Form/FormBuilder.php \Drupal\Core\Form\FormBuilder::getFileUploadMaxSize()
Wraps file_upload_max_size().
Return value
int The file size limit in bytes based on the PHP upload_max_filesize and post_max_size.
1 call to FormBuilder::getFileUploadMaxSize()
- FormBuilder::buildForm in core/
lib/ Drupal/ Core/ Form/ FormBuilder.php - Builds and processes a form for a given form ID.
File
-
core/
lib/ Drupal/ Core/ Form/ FormBuilder.php, line 1389
Class
- FormBuilder
- Provides form building and processing.
Namespace
Drupal\Core\FormCode
protected function getFileUploadMaxSize() : int {
return Environment::getUploadMaxSize();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.