public function UploadedFileInterface::getRealPath in Drupal 10
Gets the absolute path to the file.
Return value
string|false The path to the file, or FALSE if the file does not exist.
See also
https://php.net/manual/en/splfileinfo.getrealpath.php
1 method overrides UploadedFileInterface::getRealPath()
- FormUploadedFile::getRealPath in core/
modules/ file/ src/ Upload/ FormUploadedFile.php - Gets the absolute path to the file.
File
- core/
modules/ file/ src/ Upload/ UploadedFileInterface.php, line 66
Class
- UploadedFileInterface
- Provides an interface for uploaded files.
Namespace
Drupal\file\UploadCode
public function getRealPath();