function FormUploadedFile::getRealPath

Same name and namespace in other branches
  1. 10 core/modules/file/src/Upload/FormUploadedFile.php \Drupal\file\Upload\FormUploadedFile::getRealPath()
  2. 11.x core/modules/file/src/Upload/FormUploadedFile.php \Drupal\file\Upload\FormUploadedFile::getRealPath()

Overrides UploadedFileInterface::getRealPath

File

core/modules/file/src/Upload/FormUploadedFile.php, line 67

Class

FormUploadedFile
Provides a bridge to Symfony UploadedFile.

Namespace

Drupal\file\Upload

Code

public function getRealPath() {
    return $this->uploadedFile
        ->getRealPath();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.