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\Exception

Code

1
2
3
public function getSize() {
  return $this->size;
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.