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
StreamFileUploaderTest.php file core/modules/file/tests/src/Kernel/Upload/StreamFileUploaderTest.php
StreamFileUploaderTest::$modules property core/modules/file/tests/src/Kernel/Upload/StreamFileUploaderTest.php Modules to install.
StreamFileUploaderTest::testWriteStreamToFileSuccess function core/modules/file/tests/src/Kernel/Upload/StreamFileUploaderTest.php @covers ::writeStreamToFile
StreamFileUploaderTest::testWriteStreamToFileWithSmallerBytes function core/modules/file/tests/src/Kernel/Upload/StreamFileUploaderTest.php @covers ::writeStreamToFile
StreamWrapperTest::testFileFunctions function core/tests/Drupal/KernelTests/Core/File/StreamWrapperTest.php Tests some file handle functions.
SuperUserAccessInstallTest::$profile property core/tests/Drupal/FunctionalTests/Installer/SuperUserAccessInstallTest.php The installation profile to install.
Symfony\Component\Filesystem\Filesystem service core/modules/package_manager/package_manager.services.yml
system.file.yml file core/tests/fixtures/config_install/testing_config_install/system.file.yml core/tests/fixtures/config_install/testing_config_install/system.file.yml
system.file.yml file core/tests/fixtures/config_install/multilingual/system.file.yml core/tests/fixtures/config_install/multilingual/system.file.yml
system.file.yml file core/modules/system/config/install/system.file.yml core/modules/system/config/install/system.file.yml
system.file_event.subscriber service core/modules/system/system.services.yml Drupal\system\EventSubscriber\SecurityFileUploadEventSubscriber
SystemAuthorizeTest::testFileTransferHooks function core/modules/system/tests/src/Functional/System/SystemAuthorizeTest.php Tests the FileTransfer hooks.
SystemHooks::fileDownload function core/modules/system/src/Hook/SystemHooks.php Implements hook_file_download().
SystemHooks::filetransferInfo function core/modules/system/src/Hook/SystemHooks.php Implements hook_filetransfer_info().
SystemListingCrossProfileCompatibleTest class core/profiles/testing/modules/drupal_system_listing_compatible_test/tests/src/Kernel/SystemListingCrossProfileCompatibleTest.php Verifies that tests in installation profile modules are found.
SystemListingCrossProfileCompatibleTest.php file core/profiles/testing/modules/drupal_system_listing_compatible_test/tests/src/Kernel/SystemListingCrossProfileCompatibleTest.php
SystemListingCrossProfileCompatibleTest::$modules property core/profiles/testing/modules/drupal_system_listing_compatible_test/tests/src/Kernel/SystemListingCrossProfileCompatibleTest.php Attempt to enable a module from the Testing profile.
SystemListingCrossProfileCompatibleTest::$profile property core/profiles/testing/modules/drupal_system_listing_compatible_test/tests/src/Kernel/SystemListingCrossProfileCompatibleTest.php Use the Minimal profile.
SystemListingCrossProfileCompatibleTest::setUp function core/profiles/testing/modules/drupal_system_listing_compatible_test/tests/src/Kernel/SystemListingCrossProfileCompatibleTest.php
SystemListingCrossProfileCompatibleTest::testSystemListing function core/profiles/testing/modules/drupal_system_listing_compatible_test/tests/src/Kernel/SystemListingCrossProfileCompatibleTest.php Non-empty test* method required to executed the test case class.
SystemListingTest::testFileScanIgnoreDirectory function core/modules/system/tests/src/Kernel/Common/SystemListingTest.php Tests that directories matching file_scan_ignore_directories are ignored.
SystemTestController::getInstallProfile function core/modules/system/tests/modules/system_test/src/Controller/SystemTestController.php Use a plain Symfony response object to output the current install_profile.
SystemTestHooks::filetransferInfo function core/modules/system/tests/modules/system_test/src/Hook/SystemTestHooks.php Implements hook_filetransfer_info().
table--file-multiple-widget.css file core/themes/claro/css/components/table--file-multiple-widget.css Styles for multiple file widget table.
table--file-multiple-widget.pcss.css file core/themes/claro/css/components/table--file-multiple-widget.pcss.css Styles for multiple file widget table.
template_preprocess_file_link function core/modules/file/file.module Prepares variables for file link templates.
template_preprocess_file_managed_file function core/modules/file/file.module Prepares variables for file form widget templates.
template_preprocess_file_upload_help function core/modules/file/file.module Prepares variables for file upload help text templates.
template_preprocess_file_widget_multiple function core/modules/file/file.module Prepares variables for multi file form widget templates.
TemporaryJsonapiFileFieldUploader class core/modules/jsonapi/src/Controller/TemporaryJsonapiFileFieldUploader.php Reads data from an upload stream and creates a corresponding file entity.
TemporaryJsonapiFileFieldUploader.php file core/modules/jsonapi/src/Controller/TemporaryJsonapiFileFieldUploader.php
TemporaryJsonapiFileFieldUploader::$eventDispatcher property core/modules/jsonapi/src/Controller/TemporaryJsonapiFileFieldUploader.php The event dispatcher.
TemporaryJsonapiFileFieldUploader::$fileSystem property core/modules/jsonapi/src/Controller/TemporaryJsonapiFileFieldUploader.php The file system service.
TemporaryJsonapiFileFieldUploader::$fileValidator property core/modules/jsonapi/src/Controller/TemporaryJsonapiFileFieldUploader.php The file validator.
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.

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