Search for file

  1. Search 7.x for file
  2. Search 9.5.x for file
  3. Search 8.9.x for file
  4. Search 10.3.x for file
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
File class core/modules/media/src/Plugin/media/Source/File.php File entity media source.
File class core/modules/file/src/Entity/File.php Defines the file entity class.
File class core/modules/file/src/Plugin/views/field/File.php Field handler to provide simple renderer that allows linking to a file.
File class core/modules/file/src/Plugin/views/wizard/File.php Tests creating managed files views with the wizard.
File class core/modules/file/src/Plugin/migrate/source/d6/File.php Drupal 6 file source from database.
File class core/modules/file/src/Plugin/migrate/source/d7/File.php Drupal 7 file source from database.
File class core/lib/Drupal/Core/Render/Element/File.php Provides a form element for uploading a file.

All search results

Title Object type File name Summary
FileCopyTest::providerSuccessfulReuse function core/modules/migrate/tests/src/Kernel/process/FileCopyTest.php Provides the source and destination path files.
FileCopyTest::setUp function core/modules/migrate/tests/src/Kernel/process/FileCopyTest.php
FileCopyTest::testDownloadRemoteUri function core/modules/migrate/tests/src/Kernel/process/FileCopyTest.php Tests that remote URIs are delegated to the download plugin.
FileCopyTest::testFileProcessBaseConstructor function core/modules/migrate/tests/src/Unit/process/FileCopyTest.php Tests that the plugin constructor correctly sets the configuration.
FileCopyTest::testNonExistent function core/tests/Drupal/KernelTests/Core/File/FileCopyTest.php Copy a non-existent file.
FileCopyTest::testNonExistentSourceFile function core/modules/migrate/tests/src/Kernel/process/FileCopyTest.php Tests that non-existent files throw an exception.
FileCopyTest::testNonWritableDestination function core/modules/migrate/tests/src/Kernel/process/FileCopyTest.php Tests that non-writable destination throw an exception.
FileCopyTest::testNormal function core/tests/Drupal/KernelTests/Core/File/FileCopyTest.php Copy a normal file.
FileCopyTest::testOverwriteSelf function core/tests/Drupal/KernelTests/Core/File/FileCopyTest.php Copy a file onto itself.
FileCopyTest::testRenameFile function core/modules/migrate/tests/src/Kernel/process/FileCopyTest.php Tests the 'rename' overwrite mode.
FileCopyTest::testSuccessfulCopies function core/modules/migrate/tests/src/Kernel/process/FileCopyTest.php Tests successful imports/copies.
FileCopyTest::testSuccessfulMoves function core/modules/migrate/tests/src/Kernel/process/FileCopyTest.php Tests successful moves.
FileCopyTest::testSuccessfulReuse function core/modules/migrate/tests/src/Kernel/process/FileCopyTest.php Tests successful file reuse.
FileDeleteGadgetChainTest class core/tests/Drupal/KernelTests/Core/File/FileDeleteGadgetChainTest.php Tests protection against SA-CORE-2024-006 File Delete Gadget Chain.
FileDeleteGadgetChainTest.php file core/tests/Drupal/KernelTests/Core/File/FileDeleteGadgetChainTest.php
FileDeleteGadgetChainTest::testFileDeleteGadgetChain function core/tests/Drupal/KernelTests/Core/File/FileDeleteGadgetChainTest.php Tests unserializing a File Delete payload.
FileDeleteRecursiveTest class core/tests/Drupal/KernelTests/Core/File/FileDeleteRecursiveTest.php Tests the unmanaged file delete recursive function.
FileDeleteRecursiveTest.php file core/tests/Drupal/KernelTests/Core/File/FileDeleteRecursiveTest.php
FileDeleteRecursiveTest::tearDown function core/tests/Drupal/KernelTests/Core/File/FileDeleteRecursiveTest.php
FileDeleteRecursiveTest::testDirectory function core/tests/Drupal/KernelTests/Core/File/FileDeleteRecursiveTest.php Try deleting a directory with some files.
FileDeleteRecursiveTest::testEmptyDirectory function core/tests/Drupal/KernelTests/Core/File/FileDeleteRecursiveTest.php Try deleting an empty directory.
FileDeleteRecursiveTest::testSingleFile function core/tests/Drupal/KernelTests/Core/File/FileDeleteRecursiveTest.php Delete a normal file.
FileDeleteRecursiveTest::testSubDirectory function core/tests/Drupal/KernelTests/Core/File/FileDeleteRecursiveTest.php Try deleting subdirectories with some files.
FileDeleteRecursiveTest::testSymlinksInDirectory function core/tests/Drupal/KernelTests/Core/File/FileDeleteRecursiveTest.php Tests symlinks in directories do not result in unexpected deletions.
FileDeleteRecursiveTest::testSymlinksInDirectoryViaStreamWrappers function core/tests/Drupal/KernelTests/Core/File/FileDeleteRecursiveTest.php Tests symlinks in directories do not result in unexpected deletions.
FileDeleteRecursiveTest::testSymlinksToDirectory function core/tests/Drupal/KernelTests/Core/File/FileDeleteRecursiveTest.php Tests symlinks to directories do not result in unexpected deletions.
FileDeleteRecursiveTest::testSymlinksToDirectoryViaStreamWrapper function core/tests/Drupal/KernelTests/Core/File/FileDeleteRecursiveTest.php Tests trying to delete symlinks to directories via stream wrappers.
FileDeleteTest class core/tests/Drupal/KernelTests/Core/File/FileDeleteTest.php Tests the unmanaged file delete function.
FileDeleteTest.php file core/tests/Drupal/KernelTests/Core/File/FileDeleteTest.php
FileDeleteTest::testDirectory function core/tests/Drupal/KernelTests/Core/File/FileDeleteTest.php Try deleting a directory.
FileDeleteTest::testMissing function core/tests/Drupal/KernelTests/Core/File/FileDeleteTest.php Try deleting a missing file.
FileDeleteTest::testNormal function core/tests/Drupal/KernelTests/Core/File/FileDeleteTest.php Delete a normal file.
FileDeleteTest::testSymlinkDirectory function core/tests/Drupal/KernelTests/Core/File/FileDeleteTest.php Tests deleting a symlink to a directory.
FileDeleteTest::testSymlinkDirectoryStreamWrappers function core/tests/Drupal/KernelTests/Core/File/FileDeleteTest.php Tests deleting using a symlinked directory using stream wrappers.
FileDownloadController class core/modules/system/src/FileDownloadController.php System file controller.
FileDownloadController.php file core/modules/system/src/FileDownloadController.php
FileDownloadController::$streamWrapperManager property core/modules/system/src/FileDownloadController.php The stream wrapper manager.
FileDownloadController::download function core/modules/system/src/FileDownloadController.php Handles private file transfers.
FileDownloadController::__construct function core/modules/system/src/FileDownloadController.php FileDownloadController constructor.
FileDownloadHook class core/modules/file/src/Hook/FileDownloadHook.php Implements hook_file_download().
FileDownloadHook.php file core/modules/file/src/Hook/FileDownloadHook.php
FileDownloadHook::__construct function core/modules/file/src/Hook/FileDownloadHook.php
FileDownloadHook::__invoke function core/modules/file/src/Hook/FileDownloadHook.php Implements hook_file_download().
FileElementTest class core/modules/system/tests/src/Kernel/Form/FileElementTest.php Tests for the 'file' form element.
FileElementTest.php file core/modules/system/tests/src/Kernel/Form/FileElementTest.php
FileElementTest::$modules property core/modules/system/tests/src/Kernel/Form/FileElementTest.php Modules to install.
FileElementTest::testFileElement function core/modules/system/tests/src/Kernel/Form/FileElementTest.php Tests that file elements are built and processed correctly.
FileEncodingConstraint class core/modules/file/src/Plugin/Validation/Constraint/FileEncodingConstraint.php Defines an encoding constraint for files.
FileEncodingConstraint.php file core/modules/file/src/Plugin/Validation/Constraint/FileEncodingConstraint.php
FileEncodingConstraint::$encodings property core/modules/file/src/Plugin/Validation/Constraint/FileEncodingConstraint.php The allowed file encodings.

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