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
JsonApiFunctionalTestBase::$userCanViewProfiles property core/modules/jsonapi/tests/src/Functional/JsonApiFunctionalTestBase.php Test user with access to view profiles.
JsonapiHooks::jsonapiFileFilterAccess function core/modules/jsonapi/src/Hook/JsonapiHooks.php Implements hook_jsonapi_ENTITY_TYPE_filter_access() for 'file'.
JUnitConverterTest::testXmlToRowsEmptyFile function core/tests/Drupal/Tests/Core/Test/JUnitConverterTest.php @covers ::xmlToRows
KernelTestBase::initFileCache function core/tests/Drupal/KernelTests/KernelTestBase.php Initializes the FileCache component.
KernelTestBase::setInstallProfile function core/tests/Drupal/KernelTests/KernelTestBase.php Sets the install profile and rebuilds the container to update it.
KernelTestBase::setUpFilesystem function core/tests/Drupal/KernelTests/KernelTestBase.php Sets up the filesystem, so things like the file directory.
KernelTestBaseTest::testProfileModules function core/tests/Drupal/KernelTests/KernelTestBaseTest.php Ensures KernelTestBase tests can access modules in profiles.
LanguageConfigInstallOverrideExistingTest::$profile property core/modules/language/tests/src/Functional/LanguageConfigInstallOverrideExistingTest.php The profile to install as a basis for testing.
LayoutBuilderSettingsUpdateTest::setDatabaseDumpFiles function core/modules/layout_builder/tests/src/Functional/Update/LayoutBuilderSettingsUpdateTest.php Set database dump files to be used.
LayoutPluginManagerTest::setUpFilesystem function core/tests/Drupal/Tests/Core/Layout/LayoutPluginManagerTest.php Sets up the filesystem with YAML files and annotated plugins.
LeaveProfileNode class core/modules/sdc/tests/modules/sdc_other_node_visitor/src/Twig/Profiler/LeaveProfileNode.php Represents a profile leave node.
LeaveProfileNode class core/modules/system/tests/modules/sdc_other_node_visitor/src/Twig/Profiler/LeaveProfileNode.php Represents a profile leave node.
LeaveProfileNode.php file core/modules/system/tests/modules/sdc_other_node_visitor/src/Twig/Profiler/LeaveProfileNode.php
LeaveProfileNode.php file core/modules/sdc/tests/modules/sdc_other_node_visitor/src/Twig/Profiler/LeaveProfileNode.php
LeaveProfileNode::compile function core/modules/system/tests/modules/sdc_other_node_visitor/src/Twig/Profiler/LeaveProfileNode.php
LeaveProfileNode::compile function core/modules/sdc/tests/modules/sdc_other_node_visitor/src/Twig/Profiler/LeaveProfileNode.php
LeaveProfileNode::__construct function core/modules/sdc/tests/modules/sdc_other_node_visitor/src/Twig/Profiler/LeaveProfileNode.php
LeaveProfileNode::__construct function core/modules/system/tests/modules/sdc_other_node_visitor/src/Twig/Profiler/LeaveProfileNode.php
LegacyFileModuleTest class core/modules/file/tests/src/Kernel/LegacyFileModuleTest.php Tests file module deprecations.
LegacyFileModuleTest.php file core/modules/file/tests/src/Kernel/LegacyFileModuleTest.php
LegacyFileModuleTest::$modules property core/modules/file/tests/src/Kernel/LegacyFileModuleTest.php Modules to enable.
LegacyFileModuleTest::testFileIconClassDeprecation function core/modules/file/tests/src/Kernel/LegacyFileModuleTest.php @covers ::file_icon_class
LegacyFileModuleTest::testFileIconMapDeprecation function core/modules/file/tests/src/Kernel/LegacyFileModuleTest.php @covers ::file_icon_map
LegacyFileModuleTest::testFileProgressDeprecation function core/modules/file/tests/src/Kernel/LegacyFileModuleTest.php @covers ::file_progress_implementation
LegacyFileSystemTest class core/tests/Drupal/KernelTests/Core/File/LegacyFileSystemTest.php Tests the legacy file system functions.
LegacyFileSystemTest.php file core/tests/Drupal/KernelTests/Core/File/LegacyFileSystemTest.php
LegacyFileSystemTest::$fileSystem property core/tests/Drupal/KernelTests/Core/File/LegacyFileSystemTest.php The file system under test.
LegacyFileSystemTest::setUp function core/tests/Drupal/KernelTests/Core/File/LegacyFileSystemTest.php
LegacyFileSystemTest::testCopyWithDeprecatedFileExists function core/tests/Drupal/KernelTests/Core/File/LegacyFileSystemTest.php @covers ::copy
LegacyFileSystemTest::testCopyWithOutOfBoundsIntNegative function core/tests/Drupal/KernelTests/Core/File/LegacyFileSystemTest.php @covers ::copy
LegacyFileSystemTest::testCopyWithOutOfBoundsIntPositive function core/tests/Drupal/KernelTests/Core/File/LegacyFileSystemTest.php @covers ::copy
LegacyFileSystemTest::testGetDestinationFilenameWithDeprecatedFileExists function core/tests/Drupal/KernelTests/Core/File/LegacyFileSystemTest.php @covers ::getDestinationFilename
LegacyFileSystemTest::testMoveWithDeprecatedFileExists function core/tests/Drupal/KernelTests/Core/File/LegacyFileSystemTest.php @covers ::move
LegacyFileSystemTest::testSaveDataWithDeprecatedFileExists function core/tests/Drupal/KernelTests/Core/File/LegacyFileSystemTest.php @covers ::saveData
LegacyFileThemeTest class core/modules/file/tests/src/Kernel/LegacyFileThemeTest.php Tests legacy deprecated functions in file.module.
LegacyFileThemeTest.php file core/modules/file/tests/src/Kernel/LegacyFileThemeTest.php
LegacyFileThemeTest::$modules property core/modules/file/tests/src/Kernel/LegacyFileThemeTest.php Modules to enable.
LegacyFileThemeTest::testTemplatePreprocessFileUploadHelp function core/modules/file/tests/src/Kernel/LegacyFileThemeTest.php @covers ::template_preprocess_file_upload_help
LegacyFileUploadHandlerTest class core/modules/file/tests/src/Kernel/Upload/LegacyFileUploadHandlerTest.php Provides tests for legacy file upload handler code.
LegacyFileUploadHandlerTest.php file core/modules/file/tests/src/Kernel/Upload/LegacyFileUploadHandlerTest.php
LegacyFileUploadHandlerTest::$modules property core/modules/file/tests/src/Kernel/Upload/LegacyFileUploadHandlerTest.php Modules to enable.
LegacyFileUploadHandlerTest::testThrow function core/modules/file/tests/src/Kernel/Upload/LegacyFileUploadHandlerTest.php @covers ::handleFileUpload
LegacyValidatorTest::providerTestFileValidateExtensionsOnUri function core/modules/file/tests/src/Kernel/LegacyValidatorTest.php Data provider for ::testFileValidateExtensionsOnUri.
LegacyValidatorTest::testFileValidateExtensions function core/modules/file/tests/src/Kernel/LegacyValidatorTest.php Tests the file_validate_extensions() function.
LegacyValidatorTest::testFileValidateExtensionsOnUri function core/modules/file/tests/src/Kernel/LegacyValidatorTest.php Tests the file_validate_extensions() function.
LegacyValidatorTest::testFileValidateImageResolution function core/modules/file/tests/src/Kernel/LegacyValidatorTest.php This ensures the dimensions of a specific file is within bounds.
LegacyValidatorTest::testFileValidateIsImage function core/modules/file/tests/src/Kernel/LegacyValidatorTest.php This ensures a specific file is actually an image.
LegacyValidatorTest::testFileValidateNameLength function core/modules/file/tests/src/Kernel/LegacyValidatorTest.php This will ensure the filename length is valid.
LegacyValidatorTest::testFileValidateSize function core/modules/file/tests/src/Kernel/LegacyValidatorTest.php Tests file_validate_size().
LibrariesDirectoryFileFinder class core/lib/Drupal/Core/Asset/LibrariesDirectoryFileFinder.php Finds files that are located in the supported 'libraries' directories.

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