Search for file

  1. Search 7.x for file
  2. Search 9.5.x for file
  3. Search 10.3.x for file
  4. Search 11.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
FileSystemTest class core/tests/Drupal/Tests/Core/File/FileSystemTest.php @coversDefaultClass \Drupal\Core\File\FileSystem
FileSystemTest.php file core/tests/Drupal/Tests/Core/File/FileSystemTest.php
FileSystemTest.php file core/tests/Drupal/KernelTests/Core/File/FileSystemTest.php
FileSystemTest::$fileSystem property core/tests/Drupal/KernelTests/Core/File/FileSystemTest.php The file handler under test.
FileSystemTest::$fileSystem property core/tests/Drupal/Tests/Core/File/FileSystemTest.php
FileSystemTest::$logger property core/tests/Drupal/Tests/Core/File/FileSystemTest.php The file logger channel.
FileSystemTest::$modules property core/tests/Drupal/KernelTests/Core/File/FileSystemTest.php Modules to enable.
FileSystemTest::$streamWrapperManager property core/tests/Drupal/Tests/Core/File/FileSystemTest.php The stream wrapper manager.
FileSystemTest::assertFilePermissions function core/tests/Drupal/Tests/Core/File/FileSystemTest.php Asserts that the file permissions of a given URI matches.
FileSystemTest::providerTestBasename function core/tests/Drupal/Tests/Core/File/FileSystemTest.php
FileSystemTest::setUp function core/tests/Drupal/Tests/Core/File/FileSystemTest.php
FileSystemTest::setUp function core/tests/Drupal/KernelTests/Core/File/FileSystemTest.php
FileSystemTest::testBasename function core/tests/Drupal/Tests/Core/File/FileSystemTest.php @covers ::basename
FileSystemTest::testChmodDir function core/tests/Drupal/Tests/Core/File/FileSystemTest.php @covers ::chmod
FileSystemTest::testChmodFile function core/tests/Drupal/Tests/Core/File/FileSystemTest.php @covers ::chmod
FileSystemTest::testChmodUnsuccessful function core/tests/Drupal/Tests/Core/File/FileSystemTest.php @covers ::chmod
FileSystemTest::testCopyFailureIfFileAlreadyExists function core/tests/Drupal/KernelTests/Core/File/FileSystemTest.php @covers ::copy
FileSystemTest::testCopyFailureIfSelfOverwrite function core/tests/Drupal/KernelTests/Core/File/FileSystemTest.php @covers ::copy
FileSystemTest::testCopySelfRename function core/tests/Drupal/KernelTests/Core/File/FileSystemTest.php @covers ::copy
FileSystemTest::testDestinationDirectoryFailureOnCopy function core/tests/Drupal/KernelTests/Core/File/FileSystemTest.php @covers ::copy
FileSystemTest::testEnsureFileExistsBeforeCopy function core/tests/Drupal/KernelTests/Core/File/FileSystemTest.php @covers ::copy
FileSystemTest::testInvalidUTF8 function core/tests/Drupal/Tests/Core/File/FileSystemTest.php Tests that invalid UTF-8 results in an exception.
FileSystemTest::testSuccessfulCopy function core/tests/Drupal/KernelTests/Core/File/FileSystemTest.php @covers ::copy
FileSystemTest::testUnlink function core/tests/Drupal/Tests/Core/File/FileSystemTest.php @covers ::unlink
FileTest class core/modules/jsonapi/tests/src/Functional/FileTest.php JSON:API integration test for the "File" content entity type.
FileTest class core/modules/file/tests/src/Kernel/Plugin/migrate/source/d6/FileTest.php Tests D6 file source plugin.
FileTest class core/modules/file/tests/src/Kernel/Plugin/migrate/source/d7/FileTest.php Tests D7 file source plugin.
FileTest.php file core/modules/file/tests/src/Kernel/Plugin/migrate/source/d6/FileTest.php
FileTest.php file core/modules/file/tests/src/Kernel/Plugin/migrate/source/d7/FileTest.php
FileTest.php file core/modules/jsonapi/tests/src/Functional/FileTest.php
FileTest::$author property core/modules/jsonapi/tests/src/Functional/FileTest.php The file author.
FileTest::$defaultTheme property core/modules/jsonapi/tests/src/Functional/FileTest.php The theme to install as the default for testing.
FileTest::$entity property core/modules/jsonapi/tests/src/Functional/FileTest.php
FileTest::$entityTypeId property core/modules/jsonapi/tests/src/Functional/FileTest.php The tested entity type.
FileTest::$modules property core/modules/jsonapi/tests/src/Functional/FileTest.php Modules to enable.
FileTest::$modules property core/modules/file/tests/src/Kernel/Plugin/migrate/source/d6/FileTest.php Modules to enable.
FileTest::$modules property core/modules/file/tests/src/Kernel/Plugin/migrate/source/d7/FileTest.php Modules to enable.
FileTest::$patchProtectedFieldNames property core/modules/jsonapi/tests/src/Functional/FileTest.php The fields that are protected against modification during PATCH requests.
FileTest::$resourceTypeName property core/modules/jsonapi/tests/src/Functional/FileTest.php The name of the tested JSON:API resource type.
FileTest::createAnotherEntity function core/modules/jsonapi/tests/src/Functional/FileTest.php Creates another entity to be tested.
FileTest::createEntity function core/modules/jsonapi/tests/src/Functional/FileTest.php Creates the entity to be tested.
FileTest::getExpectedDocument function core/modules/jsonapi/tests/src/Functional/FileTest.php Returns the expected JSON:API document for the entity.
FileTest::getExpectedUnauthorizedAccessMessage function core/modules/jsonapi/tests/src/Functional/FileTest.php Return the expected error message.
FileTest::getPostDocument function core/modules/jsonapi/tests/src/Functional/FileTest.php Returns the JSON:API POST document.
FileTest::makeCurrentUserFileOwner function core/modules/jsonapi/tests/src/Functional/FileTest.php Makes the current user the file owner.
FileTest::providerSource function core/modules/file/tests/src/Kernel/Plugin/migrate/source/d6/FileTest.php The data provider.
FileTest::providerSource function core/modules/file/tests/src/Kernel/Plugin/migrate/source/d7/FileTest.php The data provider.
FileTest::setUpAuthorization function core/modules/jsonapi/tests/src/Functional/FileTest.php Sets up the necessary authorization.
FileTest::testCollectionFilterAccess function core/modules/jsonapi/tests/src/Functional/FileTest.php
FileTest::testPostIndividual function core/modules/jsonapi/tests/src/Functional/FileTest.php Tests POSTing an individual resource, plus edge cases to ensure good DX.

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