FileInterface::getFilename

public FileInterface::getFilename()

Returns the name of the file.

This may differ from the basename of the URI if the file is renamed to avoid overwriting an existing file.

Return value

string Name of the file.

File

core/modules/file/src/FileInterface.php, line 25

Class

FileInterface
Defines getter and setter methods for file entity base fields.

Namespace

Drupal\file

Code

public function getFilename();
doc_Drupal
2016-10-29 09:13:29
Comments
Leave a Comment

Please login to continue.