Search for files

  1. Search 7.x for files
  2. Search 9.5.x for files
  3. Search 8.9.x for files
  4. Search 10.3.x for files
  5. Other projects
Title Object type File name Summary
FieldFileSizeTest class core/modules/views/tests/src/Kernel/Handler/FieldFileSizeTest.php Tests the core Drupal\views\Plugin\views\field\FileSize handler.
FieldFileSizeTest.php file core/modules/views/tests/src/Kernel/Handler/FieldFileSizeTest.php
FieldFileSizeTest::$testViews property core/modules/views/tests/src/Kernel/Handler/FieldFileSizeTest.php Views used by this test.
FieldFileSizeTest::dataSet function core/modules/views/tests/src/Kernel/Handler/FieldFileSizeTest.php Returns a very simple test dataset.
FieldFileSizeTest::testFieldFileSize function core/modules/views/tests/src/Kernel/Handler/FieldFileSizeTest.php
FieldFileSizeTest::viewsData function core/modules/views/tests/src/Kernel/Handler/FieldFileSizeTest.php Returns the views data definition.
FileAddPermissionsUpdateTest::setDatabaseDumpFiles function core/modules/file/tests/src/Functional/FileAddPermissionsUpdateTest.php Set database dump files to be used.
FileCopy::$fileSystem property core/modules/migrate/src/Plugin/migrate/process/FileCopy.php The file system service.
FileCopyTest::$fileSystem property core/modules/migrate/tests/src/Kernel/process/FileCopyTest.php The file system service.
FileEntityFormatterTest::$files property core/modules/file/tests/src/Kernel/Formatter/FileEntityFormatterTest.php The files.
FileEntityFormatterTest::testFormatterFileSize function core/modules/file/tests/src/Kernel/Formatter/FileEntityFormatterTest.php Tests the file_size field formatter.
FileFieldTestBase::uploadNodeFiles function core/modules/file/tests/src/Functional/FileFieldTestBase.php Uploads multiple files to a node.
FileFieldWidgetTest::testMaximumUploadFileSizeValidation function core/modules/file/tests/src/Functional/FileFieldWidgetTest.php Tests maximum upload file size validation.
FileFieldWidgetTest::testPrivateFileSetting function core/modules/file/tests/src/Functional/FileFieldWidgetTest.php Tests a file field with a "Private files" upload destination setting.
FileFieldWidgetTest::testUploadingMoreFilesThanAllowed function core/modules/file/tests/src/FunctionalJavascript/FileFieldWidgetTest.php Tests uploading more files than allowed at once.
FileItem::validateMaxFilesize function core/modules/file/src/Plugin/Field/FieldType/FileItem.php Form API callback.
FileMediaFormatterBase::getSourceFiles function core/modules/file/src/Plugin/Field/FieldFormatter/FileMediaFormatterBase.php Gets source files with attributes.
FileMigrationTestTrait::setUpMigratedFiles function core/modules/file/tests/src/Kernel/Migrate/d6/FileMigrationTestTrait.php Setup and execute d6_file migration.
FileOnTranslatedEntityTest::testSyncedFiles function core/modules/file/tests/src/Functional/FileOnTranslatedEntityTest.php Tests synced file fields on translated nodes.
FilePathTest::$sourceFileScheme property core/modules/migrate_drupal_ui/tests/src/Functional/d7/FilePathTest.php The file scheme variables in the source database.
FilePathTest::getManagedFiles function core/modules/migrate_drupal_ui/tests/src/Functional/d7/FilePathTest.php Gets the file data.
FilePathTest::makeFiles function core/modules/migrate_drupal_ui/tests/src/Functional/d7/FilePathTest.php Creates files for the test.
FileRepository::$fileSystem property core/modules/file/src/FileRepository.php The file system service.
FileRepositoryTest::$fileSystem property core/modules/file/tests/src/Kernel/FileRepositoryTest.php The file system service.
FileSanitizationEventSubscriber class core/modules/file/tests/modules/file_validator_test/src/EventSubscriber/FileSanitizationEventSubscriber.php Provides a file sanitization listener for file upload tests.
FileSanitizationEventSubscriber.php file core/modules/file/tests/modules/file_validator_test/src/EventSubscriber/FileSanitizationEventSubscriber.php
FileSanitizationEventSubscriber::$allowedExtensions property core/modules/file/tests/modules/file_validator_test/src/EventSubscriber/FileSanitizationEventSubscriber.php The allowed extensions.
FileSanitizationEventSubscriber::getAllowedExtensions function core/modules/file/tests/modules/file_validator_test/src/EventSubscriber/FileSanitizationEventSubscriber.php Gets the allowed extensions.
FileSanitizationEventSubscriber::getSubscribedEvents function core/modules/file/tests/modules/file_validator_test/src/EventSubscriber/FileSanitizationEventSubscriber.php
FileSanitizationEventSubscriber::onFileSanitization function core/modules/file/tests/modules/file_validator_test/src/EventSubscriber/FileSanitizationEventSubscriber.php Handles the file sanitization event.
FileSaveDataTest class core/tests/Drupal/KernelTests/Core/File/FileSaveDataTest.php Tests the file_unmanaged_save_data() function.
FileSaveDataTest.php file core/tests/Drupal/KernelTests/Core/File/FileSaveDataTest.php
FileSaveDataTest::testFileSaveData function core/tests/Drupal/KernelTests/Core/File/FileSaveDataTest.php Tests the file_unmanaged_save_data() function.
FileSaveHtaccessLoggingTest class core/modules/system/tests/src/Functional/File/FileSaveHtaccessLoggingTest.php Tests the log message added by file_save_htaccess().
FileSaveHtaccessLoggingTest.php file core/modules/system/tests/src/Functional/File/FileSaveHtaccessLoggingTest.php
FileSaveHtaccessLoggingTest::$defaultTheme property core/modules/system/tests/src/Functional/File/FileSaveHtaccessLoggingTest.php The theme to install as the default for testing.
FileSaveHtaccessLoggingTest::$modules property core/modules/system/tests/src/Functional/File/FileSaveHtaccessLoggingTest.php Modules to install.
FileSaveHtaccessLoggingTest::testHtaccessSave function core/modules/system/tests/src/Functional/File/FileSaveHtaccessLoggingTest.php Tests file_save_htaccess().
FileSaveUploadTest class core/modules/file/tests/src/Kernel/FileSaveUploadTest.php Tests file_save_upload().
FileSaveUploadTest.php file core/modules/file/tests/src/Kernel/FileSaveUploadTest.php
FileSaveUploadTest::$modules property core/modules/file/tests/src/Kernel/FileSaveUploadTest.php Modules to install.
FileSaveUploadTest::setUp function core/modules/file/tests/src/Kernel/FileSaveUploadTest.php
FileSaveUploadTest::testFileSaveUploadEmptyExtensions function core/modules/file/tests/src/Kernel/FileSaveUploadTest.php Tests file_save_upload() with empty extensions.
FileSecurity class composer/Plugin/VendorHardening/FileSecurity.php Provides file security functions.
FileSecurity class core/lib/Drupal/Component/FileSecurity/FileSecurity.php Provides file security functions.
FileSecurity.php file core/lib/Drupal/Component/FileSecurity/FileSecurity.php
FileSecurity.php file composer/Plugin/VendorHardening/FileSecurity.php
FileSecurity::denyPublicAccess function composer/Plugin/VendorHardening/FileSecurity.php Returns htaccess directives to block all access to a given directory.
FileSecurity::denyPublicAccess function core/lib/Drupal/Component/FileSecurity/FileSecurity.php Returns htaccess directives to block all access to a given directory.
FileSecurity::htaccessLines function core/lib/Drupal/Component/FileSecurity/FileSecurity.php Returns the standard .htaccess lines that Drupal writes.

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