Search for getFile

  1. Search 7.x for getFile
  2. Search 8.9.x for getFile
  3. Search 10.3.x for getFile
  4. Search 11.x for getFile
  5. Other projects
Title Object type File name Summary
CKEditorPluginInterface::getFile function core/modules/ckeditor/src/CKEditorPluginInterface.php Returns the Drupal root-relative file path to the plugin JavaScript file.
CssOptimizer::getFileUrlGenerator function core/lib/Drupal/Core/Asset/CssOptimizer.php Returns the file URL generator.
DrupalImage::getFile function core/modules/ckeditor/src/Plugin/CKEditorPlugin/DrupalImage.php Returns the Drupal root-relative file path to the plugin JavaScript file.
DrupalImageCaption::getFile function core/modules/ckeditor/src/Plugin/CKEditorPlugin/DrupalImageCaption.php Returns the Drupal root-relative file path to the plugin JavaScript file.
DrupalLink::getFile function core/modules/ckeditor/src/Plugin/CKEditorPlugin/DrupalLink.php Returns the Drupal root-relative file path to the plugin JavaScript file.
DrupalMedia::getFile function core/modules/ckeditor/src/Plugin/CKEditorPlugin/DrupalMedia.php Returns the Drupal root-relative file path to the plugin JavaScript file.
DrupalMediaLibrary::getFile function core/modules/ckeditor/src/Plugin/CKEditorPlugin/DrupalMediaLibrary.php Returns the Drupal root-relative file path to the plugin JavaScript file.
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.
File::getFileUri function core/modules/file/src/Entity/File.php Returns the URI of the file.
FileAccessControlHandler::getFileReferences function core/modules/file/src/FileAccessControlHandler.php Wrapper for file_get_file_references().
FileInterface::getFilename function core/modules/file/src/FileInterface.php Returns the name of the file.
FileInterface::getFileUri function core/modules/file/src/FileInterface.php Returns the URI of the file.
FileItemValidationTest::getFileTypes function core/modules/file/tests/src/Kernel/FileItemValidationTest.php Provides a list of file types to test.
FileMigrationSetupTrait::getFileMigrationInfo function core/modules/file/tests/src/Kernel/Migrate/d7/FileMigrationSetupTrait.php Returns information about the file to be migrated.
FileStorage::getFileExtension function core/lib/Drupal/Core/Config/FileStorage.php Returns the file extension used by the file storage for all configuration files.
FileStorage::getFilePath function core/lib/Drupal/Core/Config/FileStorage.php Returns the path to the configuration file.
FileStorage::getFileSystem function core/lib/Drupal/Core/Config/FileStorage.php Returns file system service.
FileTransferAuthorizeForm::getFiletransfer function core/lib/Drupal/Core/FileTransfer/Form/FileTransferAuthorizeForm.php Gets a FileTransfer class for a specific transfer method and settings.
FileUploadResult::getFile function core/modules/file/src/Upload/FileUploadResult.php Gets the File entity.
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.
FollowUpMigrationsTest::getFileMigrationInfo function core/modules/migrate_drupal/tests/src/Kernel/d7/FollowUpMigrationsTest.php Returns information about the file to be migrated.
FormBuilder::getFileUploadMaxSize function core/lib/Drupal/Core/Form/FormBuilder.php Wraps file_upload_max_size().
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.
Handler::getFileMappingsFromPackages function composer/Plugin/Scaffold/Handler.php Gets a consolidated list of file mappings from all allowed packages.
Image::getFileSize function core/lib/Drupal/Core/Image/Image.php Returns the size of the image file.
ImageInterface::getFileSize function core/lib/Drupal/Core/Image/ImageInterface.php Returns the size of the image file.
ImageTest::testGetFileSize function core/tests/Drupal/Tests/Core/Image/ImageTest.php Tests \Drupal\Core\Image\Image::getFileSize.
InlineBlockPrivateFilesTest::getFileHrefAccessibleOnNode function core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockPrivateFilesTest.php Returns the href of a file, asserting it is accessible on the page.
InlineBlockPrivateFilesTest::getFileSecret function core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockPrivateFilesTest.php Gets the text secret for a file.
InstallStorage::getFilePath function core/lib/Drupal/Core/Config/InstallStorage.php Overrides Drupal\Core\Config\FileStorage::getFilePath().
Internal::getFile function core/modules/ckeditor/src/Plugin/CKEditorPlugin/Internal.php Returns the Drupal root-relative file path to the plugin JavaScript file.
Json::getFileExtension function core/lib/Drupal/Component/Serialization/Json.php Gets the file extension for this serialization format.
Language::getFile function core/modules/ckeditor/src/Plugin/CKEditorPlugin/Language.php Returns the Drupal root-relative file path to the plugin JavaScript file.
Llama::getFile function core/modules/ckeditor/tests/modules/src/Plugin/CKEditorPlugin/Llama.php Returns the Drupal root-relative file path to the plugin JavaScript file.
LlamaButton::getFile function core/modules/ckeditor/tests/modules/src/Plugin/CKEditorPlugin/LlamaButton.php Returns the Drupal root-relative file path to the plugin JavaScript file.
LlamaContextual::getFile function core/modules/ckeditor/tests/modules/src/Plugin/CKEditorPlugin/LlamaContextual.php Returns the Drupal root-relative file path to the plugin JavaScript file.
LlamaContextualAndButton::getFile function core/modules/ckeditor/tests/modules/src/Plugin/CKEditorPlugin/LlamaContextualAndButton.php Returns the Drupal root-relative file path to the plugin JavaScript file.
LlamaCss::getFile function core/modules/ckeditor/tests/modules/src/Plugin/CKEditorPlugin/LlamaCss.php Returns the Drupal root-relative file path to the plugin JavaScript file.
LocalStream::getFileSystem function core/lib/Drupal/Core/StreamWrapper/LocalStream.php Returns file system service.
MigrateFileGetIdsTest::getFileMigrationInfo function core/modules/file/tests/src/Kernel/Migrate/d7/MigrateFileGetIdsTest.php Returns information about the file to be migrated.
MigrateFileTest::getFileMigrationInfo function core/modules/file/tests/src/Kernel/Migrate/d7/MigrateFileTest.php Returns information about the file to be migrated.
MigrateNodeCompleteTest::getFileMigrationInfo function core/modules/node/tests/src/Kernel/Migrate/d7/MigrateNodeCompleteTest.php Returns information about the file to be migrated.
MigrateNodeRevisionTest::getFileMigrationInfo function core/modules/node/tests/src/Kernel/Migrate/d7/MigrateNodeRevisionTest.php Returns information about the file to be migrated.

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