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 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
TemporaryJsonapiFileFieldUploader::$inputStreamFileWriter property core/modules/jsonapi/src/Controller/TemporaryJsonapiFileFieldUploader.php The input stream file writer.
TemporaryJsonapiFileFieldUploader::$lock property core/modules/jsonapi/src/Controller/TemporaryJsonapiFileFieldUploader.php The lock service.
TemporaryJsonapiFileFieldUploader::$logger property core/modules/jsonapi/src/Controller/TemporaryJsonapiFileFieldUploader.php A logger instance.
TemporaryJsonapiFileFieldUploader::$mimeTypeGuesser property core/modules/jsonapi/src/Controller/TemporaryJsonapiFileFieldUploader.php The MIME type guesser.
TemporaryJsonapiFileFieldUploader::$systemFileConfig property core/modules/jsonapi/src/Controller/TemporaryJsonapiFileFieldUploader.php System file configuration.
TemporaryJsonapiFileFieldUploader::$token property core/modules/jsonapi/src/Controller/TemporaryJsonapiFileFieldUploader.php The token replacement instance.
TemporaryJsonapiFileFieldUploader::BYTES_TO_READ constant core/modules/jsonapi/src/Controller/TemporaryJsonapiFileFieldUploader.php The amount of bytes to read in each iteration when streaming file data.
TemporaryJsonapiFileFieldUploader::checkFileUploadAccess function core/modules/jsonapi/src/Controller/TemporaryJsonapiFileFieldUploader.php Checks if the current user has access to upload the file.
TemporaryJsonapiFileFieldUploader::generateLockIdFromFileUri function core/modules/jsonapi/src/Controller/TemporaryJsonapiFileFieldUploader.php Generates a lock ID based on the file URI.
TemporaryJsonapiFileFieldUploader::getUploadLocation function core/modules/jsonapi/src/Controller/TemporaryJsonapiFileFieldUploader.php Determines the URI for a file field.
TemporaryJsonapiFileFieldUploader::handleFileUploadForField function core/modules/jsonapi/src/Controller/TemporaryJsonapiFileFieldUploader.php Creates and validates a file entity for a file field from a file stream.
TemporaryJsonapiFileFieldUploader::prepareFilename function core/modules/jsonapi/src/Controller/TemporaryJsonapiFileFieldUploader.php Prepares the filename to strip out any malicious extensions.
TemporaryJsonapiFileFieldUploader::REQUEST_HEADER_FILENAME_REGEX constant core/modules/jsonapi/src/Controller/TemporaryJsonapiFileFieldUploader.php The regex used to extract the filename from the content disposition header.
TemporaryJsonapiFileFieldUploader::streamUploadData function core/modules/jsonapi/src/Controller/TemporaryJsonapiFileFieldUploader.php Streams file upload data to temporary file and moves to file destination.
TemporaryJsonapiFileFieldUploader::validate function core/modules/jsonapi/src/Controller/TemporaryJsonapiFileFieldUploader.php Validates the file.
TemporaryJsonapiFileFieldUploader::validateAndParseContentDispositionHeader function core/modules/jsonapi/src/Controller/TemporaryJsonapiFileFieldUploader.php Validates and extracts the filename from the Content-Disposition header.
TemporaryJsonapiFileFieldUploader::__construct function core/modules/jsonapi/src/Controller/TemporaryJsonapiFileFieldUploader.php Constructs a FileUploadResource instance.
TemporaryJsonapiFileFieldUploaderTest class core/modules/jsonapi/tests/src/Kernel/Controller/TemporaryJsonapiFileFieldUploaderTest.php @coversDefaultClass \Drupal\jsonapi\Controller\TemporaryJsonapiFileFieldUploader
@group jsonapi
TemporaryJsonapiFileFieldUploaderTest.php file core/modules/jsonapi/tests/src/Kernel/Controller/TemporaryJsonapiFileFieldUploaderTest.php
TemporaryJsonapiFileFieldUploaderTest::$modules property core/modules/jsonapi/tests/src/Kernel/Controller/TemporaryJsonapiFileFieldUploaderTest.php Modules to enable.
TemporaryJsonapiFileFieldUploaderTest::setUp function core/modules/jsonapi/tests/src/Kernel/Controller/TemporaryJsonapiFileFieldUploaderTest.php
TemporaryJsonapiFileFieldUploaderTest::testCheckFileUploadAccessWithBaseField function core/modules/jsonapi/tests/src/Kernel/Controller/TemporaryJsonapiFileFieldUploaderTest.php @covers ::checkFileUploadAccess
TestDatabase::getLockFile function core/lib/Drupal/Core/Test/TestDatabase.php Gets the lock file path.
TestDefaultExceptionSubscriber::simplifyFileInError function core/tests/Drupal/Tests/Core/EventSubscriber/FinalExceptionSubscriberTest.php Attempts to reduce error verbosity in the error message's file path.
TestDiscovery::findAllClassFiles function core/lib/Drupal/Core/Test/TestDiscovery.php Discovers all class files in all available extensions.
TestDiscoveryTest::testGetTestsInProfiles function core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php @covers ::getTestClasses
TestFileCopy class core/modules/migrate/tests/src/Unit/process/FileCopyTest.php Class for testing FileCopy.
TestFileCopy::getConfiguration function core/modules/migrate/tests/src/Unit/process/FileCopyTest.php Gets this plugin's configuration.
TestFileCreationTrait trait core/tests/Drupal/Tests/TestFileCreationTrait.php Provides methods to create test files from given values.
TestFileCreationTrait.php file core/tests/Drupal/Tests/TestFileCreationTrait.php
TestFileCreationTrait::$generatedTestFiles property core/tests/Drupal/Tests/TestFileCreationTrait.php Whether the files were copied to the test files directory.
TestFileCreationTrait::compareFiles function core/tests/Drupal/Tests/TestFileCreationTrait.php Compares two files based on size and file name.
TestFileCreationTrait::generateFile function core/tests/Drupal/Tests/TestFileCreationTrait.php Generates a test file.
TestFileCreationTrait::getTestFiles function core/tests/Drupal/Tests/TestFileCreationTrait.php Gets a list of files that can be used in tests.
TestFileParser class core/lib/Drupal/Core/Test/RunTests/TestFileParser.php Parses class names from PHP files without loading them.
TestFileParser.php file core/lib/Drupal/Core/Test/RunTests/TestFileParser.php
TestFileParser::getTestListFromFile function core/lib/Drupal/Core/Test/RunTests/TestFileParser.php Gets the classes from a PHP file.
TestFileParser::parseContents function core/lib/Drupal/Core/Test/RunTests/TestFileParser.php Parse class names out of PHP file contents.
TestFileParserTest class core/tests/Drupal/Tests/Core/Test/RunTests/TestFileParserTest.php @coversDefaultClass \Drupal\Core\Test\RunTests\TestFileParser
@group Test
@group RunTests
TestFileParserTest.php file core/tests/Drupal/Tests/Core/Test/RunTests/TestFileParserTest.php
TestFileParserTest::provideTestFileContents function core/tests/Drupal/Tests/Core/Test/RunTests/TestFileParserTest.php
TestFileParserTest::testGetTestListFromFile function core/tests/Drupal/Tests/Core/Test/RunTests/TestFileParserTest.php @covers ::getTestListFromFile
TestFileParserTest::testParseContents function core/tests/Drupal/Tests/Core/Test/RunTests/TestFileParserTest.php @covers ::parseContents
@dataProvider provideTestFileContents
TestFileTransfer class core/modules/system/tests/src/Functional/FileTransfer/TestFileTransfer.php Mock FileTransfer object for test case.
TestFileTransfer.php file core/modules/system/tests/src/Functional/FileTransfer/TestFileTransfer.php
TestFileTransfer::$host property core/modules/system/tests/src/Functional/FileTransfer/TestFileTransfer.php
TestFileTransfer::$password property core/modules/system/tests/src/Functional/FileTransfer/TestFileTransfer.php The password for this file transfer.
TestFileTransfer::$port property core/modules/system/tests/src/Functional/FileTransfer/TestFileTransfer.php The port for this file transfer.
TestFileTransfer::$shouldIsDirectoryReturnTrue property core/modules/system/tests/src/Functional/FileTransfer/TestFileTransfer.php This is for testing the CopyRecursive logic.
TestFileTransfer::$username property core/modules/system/tests/src/Functional/FileTransfer/TestFileTransfer.php The username for this file transfer.

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