Search for getFileName

  1. Search 7.x for getFileName
  2. Search 8.9.x for getFileName
  3. Search 10.3.x for getFileName
  4. Search 11.x for getFileName
  5. Other projects
Title Object type File name Summary
Extension::getFilename function core/lib/Drupal/Core/Extension/Extension.php Returns the filename of the extension's info file.
File::getFilename function core/modules/file/src/Entity/File.php Returns the name of the file.
FileInterface::getFilename function core/modules/file/src/FileInterface.php Returns the name of the file.
FileUploadSanitizeNameEvent::getFilename function core/lib/Drupal/Core/File/Event/FileUploadSanitizeNameEvent.php Gets the filename.
FileValidationException::getFilename function core/modules/file/src/Upload/FileValidationException.php Gets the file name.
FormUploadedFile::getFilename function core/modules/file/src/Upload/FormUploadedFile.php Gets the filename.
GetFilenameTest class core/tests/Drupal/KernelTests/Core/Bootstrap/GetFilenameTest.php Tests that drupal_get_filename() works correctly.
GetFilenameTest.php file core/tests/Drupal/KernelTests/Core/Bootstrap/GetFilenameTest.php
GetFilenameTest::$modules property core/tests/Drupal/KernelTests/Core/Bootstrap/GetFilenameTest.php Modules to enable.
GetFilenameTest::testDrupalGetFilename function core/tests/Drupal/KernelTests/Core/Bootstrap/GetFilenameTest.php Tests drupal_get_filename() deprecation.
GetFilenameTest::testDrupalGetPath function core/tests/Drupal/KernelTests/Core/Bootstrap/GetFilenameTest.php Tests drupal_get_path() deprecation.
StaticReflectionClass::getFileName function core/lib/Drupal/Component/Annotation/Doctrine/StaticReflectionClass.php
UploadedFileInterface::getFilename function core/modules/file/src/Upload/UploadedFileInterface.php Gets the filename.

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