You are here

public function UploadedFileInterface::getPathname in Drupal 10

Gets the path to the file.

Return value

string The path to the file.

See also

https://php.net/manual/en/splfileinfo.getpathname.php

1 method overrides UploadedFileInterface::getPathname()
FormUploadedFile::getPathname in core/modules/file/src/Upload/FormUploadedFile.php
Gets the path to the file.

File

core/modules/file/src/Upload/UploadedFileInterface.php, line 76

Class

UploadedFileInterface
Provides an interface for uploaded files.

Namespace

Drupal\file\Upload

Code

public function getPathname() : string;