public function BrokenPostRequestException::getSize
public BrokenPostRequestException::getSize()
Returns the maximum upload size.
Return value
string A translated string representation of the size of the file size limit based on the PHP upload_max_filesize and post_max_size.
File
- core/lib/Drupal/Core/Form/Exception/BrokenPostRequestException.php, line 44
Class
- BrokenPostRequestException
- Defines an exception used, when the POST HTTP body is broken.
Namespace
Drupal\Core\Form\ExceptionCode
public function getSize() { return $this->size; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Form!Exception!BrokenPostRequestException.php/function/BrokenPostRequestException::getSize/8.1.x