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
ConfigTranslationUiTestBase::getPoFile function core/modules/config_translation/tests/src/Functional/ConfigTranslationUiTestBase.php Helper function that returns a .po file with a given number of plural forms.
ConfigurableLanguageManagerTest::testUserProfileTranslationWithPreferredAdminLanguage function core/modules/language/tests/src/Functional/ConfigurableLanguageManagerTest.php Tests translation of the user profile edit form.
ConfigValidationTest::createRecipeWithInvalidDataInFile function core/tests/Drupal/KernelTests/Core/Recipe/ConfigValidationTest.php Creates a recipe with invalid config data in a particular file.
config_file_download function core/modules/config/config.module Implements hook_file_download().
contact_user_profile_form_submit function core/modules/contact/contact.module Form submission handler for \Drupal\user\ProfileForm.
ContainerTest::testGetWithFileInclude function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Tests that Container::get() for services with file includes works.
container_test_file_service_test_service_function function core/tests/Drupal/Tests/Component/DependencyInjection/Fixture/container_test_file_service_test_service_function.php Test function for container testing.
container_test_file_service_test_service_function.php file core/tests/Drupal/Tests/Component/DependencyInjection/Fixture/container_test_file_service_test_service_function.php
ContentDispositionFilenameParser class core/modules/file/src/Upload/ContentDispositionFilenameParser.php Parses the content-disposition header to extract the client filename.
ContentDispositionFilenameParser.php file core/modules/file/src/Upload/ContentDispositionFilenameParser.php
ContentDispositionFilenameParser::parseFilename function core/modules/file/src/Upload/ContentDispositionFilenameParser.php Parse the content disposition header and return the filename.
ContentDispositionFilenameParser::REQUEST_HEADER_FILENAME_REGEX constant core/modules/file/src/Upload/ContentDispositionFilenameParser.php The regex used to extract the filename from the content disposition header.
ContentDispositionFilenameParser::__construct function core/modules/file/src/Upload/ContentDispositionFilenameParser.php Private constructor to prevent instantiation.
ContentDispositionFilenameParserTest class core/modules/file/tests/src/Unit/Upload/ContentDispositionFilenameParserTest.php Tests the ContentDispositionFilenameParser class.
ContentDispositionFilenameParserTest.php file core/modules/file/tests/src/Unit/Upload/ContentDispositionFilenameParserTest.php
ContentDispositionFilenameParserTest::createRequest function core/modules/file/tests/src/Unit/Upload/ContentDispositionFilenameParserTest.php Creates a request with the given content-disposition header.
ContentDispositionFilenameParserTest::invalidHeaderProvider function core/modules/file/tests/src/Unit/Upload/ContentDispositionFilenameParserTest.php A data provider for invalid headers.
ContentDispositionFilenameParserTest::testParseFilenameExtended function core/modules/file/tests/src/Unit/Upload/ContentDispositionFilenameParserTest.php @covers ::parseFilename
ContentDispositionFilenameParserTest::testParseFilenameInvalid function core/modules/file/tests/src/Unit/Upload/ContentDispositionFilenameParserTest.php @covers ::parseFilename
@dataProvider invalidHeaderProvider
ContentDispositionFilenameParserTest::testParseFilenameMissing function core/modules/file/tests/src/Unit/Upload/ContentDispositionFilenameParserTest.php @covers ::parseFilename
ContentDispositionFilenameParserTest::testParseFilenameSuccess function core/modules/file/tests/src/Unit/Upload/ContentDispositionFilenameParserTest.php Tests the parseFilename() method.
ContentEntityFormFieldValidationFilteringTest::$fieldNameFile property core/tests/Drupal/FunctionalTests/Entity/ContentEntityFormFieldValidationFilteringTest.php The name of the file field being tested with the entity type.
ContentEntityTest::testFileSource function core/modules/migrate_drupal/tests/src/Kernel/Plugin/migrate/source/ContentEntityTest.php Tests file source plugin.
ContentTranslationConfigUITest::$profile property core/modules/content_translation/tests/src/FunctionalJavascript/ContentTranslationConfigUITest.php Use the minimal profile.
ContentTranslationContextualLinksTest::$profile property core/modules/content_translation/tests/src/Functional/ContentTranslationContextualLinksTest.php The profile to install as a basis for testing.
ContentTranslationFieldSyncRevisionTest::testFileFieldSynchronization function core/modules/content_translation/tests/src/Kernel/ContentTranslationFieldSyncRevisionTest.php Checks that file field synchronization works as expected.
ContentTranslationStandardFieldsTest::$profile property core/modules/content_translation/tests/src/Functional/ContentTranslationStandardFieldsTest.php
ContentTranslationSyncImageTest::$files property core/modules/content_translation/tests/src/Functional/ContentTranslationSyncImageTest.php The test image files.
ConvertTest::testConvertFileInRoot function core/modules/image/tests/src/Functional/ImageEffect/ConvertTest.php Tests that files stored in the root folder are converted properly.
CopyTest::$fileRepository property core/modules/file/tests/src/Kernel/CopyTest.php The file repository service under test.
CoreRecipesTest::$profile property core/tests/Drupal/FunctionalTests/Core/Recipe/CoreRecipesTest.php The profile to install as a basis for testing.
CssCollectionRendererUnitTest::$fileCssGroup property core/tests/Drupal/Tests/Core/Asset/CssCollectionRendererUnitTest.php A valid file CSS asset group.
CssOptimizer::$fileUrlGenerator property core/lib/Drupal/Core/Asset/CssOptimizer.php The file URL generator.
CssOptimizer::$rewriteFileURIBasePath property core/lib/Drupal/Core/Asset/CssOptimizer.php The base path used by rewriteFileURI().
CssOptimizer::loadFile function core/lib/Drupal/Core/Asset/CssOptimizer.php Loads the stylesheet and resolves all @import commands.
CssOptimizer::loadNestedFile function core/lib/Drupal/Core/Asset/CssOptimizer.php Loads stylesheets recursively and returns contents with corrected paths.
CssOptimizer::processFile function core/lib/Drupal/Core/Asset/CssOptimizer.php Processes CSS file and adds base URLs to any relative resource paths.
CssOptimizer::rewriteFileURI function core/lib/Drupal/Core/Asset/CssOptimizer.php Prefixes all paths within a CSS file for processFile().
CssOptimizerUnitTest::$fileUrlGenerator property core/tests/Drupal/Tests/Core/Asset/CssOptimizerUnitTest.php The file URL generator mock.
CssOptimizerUnitTest::testTypeFilePreprocessingDisabled function core/tests/Drupal/Tests/Core/Asset/CssOptimizerUnitTest.php Tests a file CSS asset with preprocessing disabled.
CustomFileCache class core/tests/Drupal/Tests/Component/FileCache/FileCacheFactoryTest.php
D6FileField class core/modules/migrate_drupal/tests/modules/migrate_field_plugin_manager_test/src/Plugin/migrate/field/D6FileField.php MigrateField Plugin for Drupal 6 file fields.
D6FileField.php file core/modules/migrate_drupal/tests/modules/migrate_field_plugin_manager_test/src/Plugin/migrate/field/D6FileField.php
d6_file.yml file core/modules/file/migrations/d6_file.yml core/modules/file/migrations/d6_file.yml
d6_profile_field_option_translation.yml file core/modules/config_translation/migrations/d6_profile_field_option_translation.yml core/modules/config_translation/migrations/d6_profile_field_option_translation.yml
d6_profile_values.yml file core/modules/user/migrations/d6_profile_values.yml core/modules/user/migrations/d6_profile_values.yml
d6_system_file.yml file core/modules/system/migrations/d6_system_file.yml core/modules/system/migrations/d6_system_file.yml
d6_user_picture_file.yml file core/modules/user/migrations/d6_user_picture_file.yml core/modules/user/migrations/d6_user_picture_file.yml
d6_user_profile_field_instance_translation.yml file core/modules/config_translation/migrations/d6_user_profile_field_instance_translation.yml core/modules/config_translation/migrations/d6_user_profile_field_instance_translation.yml
d7_file.yml file core/modules/file/migrations/d7_file.yml core/modules/file/migrations/d7_file.yml

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