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
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.
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.
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.
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.
FileEncodingConstraint::$message property core/modules/file/src/Plugin/Validation/Constraint/FileEncodingConstraint.php The error message.
FileEncodingConstraintValidator class core/modules/file/src/Plugin/Validation/Constraint/FileEncodingConstraintValidator.php Validates the file encoding constraint.
FileEncodingConstraintValidator.php file core/modules/file/src/Plugin/Validation/Constraint/FileEncodingConstraintValidator.php
FileEncodingConstraintValidator::validate function core/modules/file/src/Plugin/Validation/Constraint/FileEncodingConstraintValidator.php
FileEncodingConstraintValidator::validateEncoding function core/modules/file/src/Plugin/Validation/Constraint/FileEncodingConstraintValidator.php Validates the encoding of the file.
FileEncodingConstraintValidatorTest class core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileEncodingConstraintValidatorTest.php Tests the FileEncodingConstraintValidator.
FileEncodingConstraintValidatorTest.php file core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileEncodingConstraintValidatorTest.php
FileEncodingConstraintValidatorTest::getInvalidEncodedPoFile function core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileEncodingConstraintValidatorTest.php Helper function that returns a .po file with invalid encoding.
FileEncodingConstraintValidatorTest::providerTestFileValidateEncodings function core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileEncodingConstraintValidatorTest.php Data provider for ::testFileEncoding.
FileEncodingConstraintValidatorTest::testFileEncodings function core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileEncodingConstraintValidatorTest.php Tests the FileEncodingConstraintValidator.
FileEntityFormatterTest class core/modules/file/tests/src/Kernel/Formatter/FileEntityFormatterTest.php Tests the default file formatter.
FileEntityFormatterTest.php file core/modules/file/tests/src/Kernel/Formatter/FileEntityFormatterTest.php
FileEntityFormatterTest::$files property core/modules/file/tests/src/Kernel/Formatter/FileEntityFormatterTest.php The files.
FileEntityFormatterTest::$fileUrlGenerator property core/modules/file/tests/src/Kernel/Formatter/FileEntityFormatterTest.php The file URL generator.
FileEntityFormatterTest::$modules property core/modules/file/tests/src/Kernel/Formatter/FileEntityFormatterTest.php Modules to install.
FileEntityFormatterTest::setUp function core/modules/file/tests/src/Kernel/Formatter/FileEntityFormatterTest.php
FileEntityFormatterTest::testFormatterFileExtension function core/modules/file/tests/src/Kernel/Formatter/FileEntityFormatterTest.php Tests the file_extension field formatter.
FileEntityFormatterTest::testFormatterFileLink function core/modules/file/tests/src/Kernel/Formatter/FileEntityFormatterTest.php Tests the file_link field formatter.
FileEntityFormatterTest::testFormatterFileLinkWithQueryString function core/modules/file/tests/src/Kernel/Formatter/FileEntityFormatterTest.php Tests the file_link field formatter using a query string.
FileEntityFormatterTest::testFormatterFileMime function core/modules/file/tests/src/Kernel/Formatter/FileEntityFormatterTest.php Tests the file_extension field formatter.
FileEntityFormatterTest::testFormatterFileSize function core/modules/file/tests/src/Kernel/Formatter/FileEntityFormatterTest.php Tests the file_size field formatter.
FileEntityFormatterTest::testFormatterFileUri function core/modules/file/tests/src/Kernel/Formatter/FileEntityFormatterTest.php Tests the file_link field formatter.
FileEventSubscriber class core/modules/file/src/EventSubscriber/FileEventSubscriber.php Sanitizes uploaded filenames.
FileEventSubscriber.php file core/modules/file/src/EventSubscriber/FileEventSubscriber.php
FileEventSubscriber::getSubscribedEvents function core/modules/file/src/EventSubscriber/FileEventSubscriber.php
FileEventSubscriber::sanitizeFilename function core/modules/file/src/EventSubscriber/FileEventSubscriber.php Sanitizes the filename of a file being uploaded.
FileEventSubscriber::__construct function core/modules/file/src/EventSubscriber/FileEventSubscriber.php Constructs a new file event listener.
FileException class core/lib/Drupal/Core/File/Exception/FileException.php Base class for exceptions related to file handling operations.
FileException.php file core/lib/Drupal/Core/File/Exception/FileException.php

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