public function UploadedFileInterface::getFilename in Drupal 10
Gets the filename.
Return value
string The filename.
See also
https://php.net/manual/en/splfileinfo.getfilename.php
1 method overrides UploadedFileInterface::getFilename()
- FormUploadedFile::getFilename in core/
modules/ file/ src/ Upload/ FormUploadedFile.php - Gets the filename.
File
- core/
modules/ file/ src/ Upload/ UploadedFileInterface.php, line 86
Class
- UploadedFileInterface
- Provides an interface for uploaded files.
Namespace
Drupal\file\UploadCode
public function getFilename() : string;