function InputStreamUploadedFile::getErrorMessage
Returns an informative upload error message.
Return value
string The error message regarding a failed upload.
Overrides UploadedFileInterface::getErrorMessage
File
-
core/
modules/ file/ src/ Upload/ InputStreamUploadedFile.php, line 69
Class
- InputStreamUploadedFile
- An uploaded file from an input stream.
Namespace
Drupal\file\UploadCode
public function getErrorMessage() : string {
throw new \BadMethodCallException(__METHOD__ . ' not implemented');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.