Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. UploadedFileInterface.php

function UploadedFileInterface::getFilename

Gets the filename.

Return value

string The filename.

See also

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

2 methods override UploadedFileInterface::getFilename()
FormUploadedFile::getFilename in core/modules/file/src/Upload/FormUploadedFile.php
Gets the filename.
InputStreamUploadedFile::getFilename in core/modules/file/src/Upload/InputStreamUploadedFile.php
Gets the filename.

File

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

Class

UploadedFileInterface
Provides an interface for uploaded files.

Namespace

Drupal\file\Upload

Code

public function getFilename() : string;

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal