You are here

public function BrokenPostRequestException::getSize in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Form/Exception/BrokenPostRequestException.php \Drupal\Core\Form\Exception\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 49
Contains \Drupal\Core\Form\Exception\BrokenPostRequestException.

Class

BrokenPostRequestException
Defines an exception used, when the POST HTTP body is broken.

Namespace

Drupal\Core\Form\Exception

Code

public function getSize() {
  return $this->size;
}