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
testing_install_profile_dependencies.info.yml file core/profiles/tests/testing_install_profile_dependencies/testing_install_profile_dependencies.info.yml core/profiles/tests/testing_install_profile_dependencies/testing_install_profile_dependencies.info.yml
TestLibraryDiscoveryParser::fileValidUri function core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php
TestLibraryDiscoveryParser::setFileValidUri function core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php
TestProfilerExtension class core/modules/system/tests/modules/sdc_other_node_visitor/src/Twig/Extension/TestProfilerExtension.php Twig extension to add a test node visitor.
TestProfilerExtension.php file core/modules/system/tests/modules/sdc_other_node_visitor/src/Twig/Extension/TestProfilerExtension.php
TestProfilerExtension::enter function core/modules/system/tests/modules/sdc_other_node_visitor/src/Twig/Extension/TestProfilerExtension.php Dummy function called when a Twig template is entered.
TestProfilerExtension::getNodeVisitors function core/modules/system/tests/modules/sdc_other_node_visitor/src/Twig/Extension/TestProfilerExtension.php
TestProfilerExtension::leave function core/modules/system/tests/modules/sdc_other_node_visitor/src/Twig/Extension/TestProfilerExtension.php Dummy function called when a Twig template is left.
TestRun::processPhpErrorLogFile function core/lib/Drupal/Core/Test/TestRun.php Reads the PHP error log and reports any errors as assertion failures.
TestRunTest::testProcessPhpErrorLogFile function core/tests/Drupal/KernelTests/Core/Test/TestRunTest.php @covers ::createNew[[api-linebreak]]
@covers ::setDatabasePrefix[[api-linebreak]]
@covers ::processPhpErrorLogFile[[api-linebreak]]
@covers ::getLogEntriesByTestClass[[api-linebreak]]
TestSetupTrait::$privateFilesDirectory property core/lib/Drupal/Core/Test/TestSetupTrait.php The private file directory for the test environment.
TestSetupTrait::$publicFilesDirectory property core/lib/Drupal/Core/Test/TestSetupTrait.php The public file directory for the test environment.
TestSetupTrait::$tempFilesDirectory property core/lib/Drupal/Core/Test/TestSetupTrait.php The temporary file directory for the test environment.
TestSiteApplicationTest::getTestLockFile function core/tests/Drupal/KernelTests/Scripts/TestSiteApplicationTest.php Gets the lock file path.
TestSiteApplicationTest::testInstallWithFileWithNoClass function core/tests/Drupal/KernelTests/Scripts/TestSiteApplicationTest.php @coversNothing[[api-linebreak]]
TestSiteApplicationTest::testInstallWithNonExistingFile function core/tests/Drupal/KernelTests/Scripts/TestSiteApplicationTest.php @coversNothing[[api-linebreak]]
TestSiteInstallCommand::$profile property core/tests/Drupal/TestSite/Commands/TestSiteInstallCommand.php The install profile to use.
TestSiteTearDownCommand::fileUnmanagedDeleteRecursive function core/tests/Drupal/TestSite/Commands/TestSiteTearDownCommand.php Deletes all files and directories in the specified path recursively.
TestToolkit::parseFile function core/modules/system/tests/modules/image_test/src/Plugin/ImageToolkit/TestToolkit.php Determines if a file contains a valid image.
TextFieldTest::testRequiredLongTextWithFileUpload function core/modules/text/tests/src/Functional/TextFieldTest.php Tests required long text with file upload.
ThemeSettingsForm::$fileSystem property core/modules/system/src/Form/ThemeSettingsForm.php The file system.
ToolkitGdTest::providerTestImageFiles function core/tests/Drupal/KernelTests/Core/Image/ToolkitGdTest.php Data provider for ::testManipulations().
ToolkitGdTest::testIncorrectIccpSrgbProfile function core/tests/Drupal/KernelTests/Core/Image/ToolkitGdTest.php Tests that GD doesn't trigger warnings for iCCP sRGB profiles.
twig.loader.filesystem service core/core.services.yml Drupal\Core\Template\Loader\FilesystemLoader
TwigEnvironmentTest::testCacheFilename function core/tests/Drupal/KernelTests/Core/Theme/TwigEnvironmentTest.php Ensures that cacheFilename() varies by extensions + deployment identifier.
TwigEnvironmentTest::testTwigFilePrefixChange function core/tests/Drupal/KernelTests/Core/Theme/TwigEnvironmentTest.php Test twig file prefix change.
TwigExtension::$fileUrlGenerator property core/lib/Drupal/Core/Template/TwigExtension.php The file URL generator.
TwigExtension::getFileUrl function core/lib/Drupal/Core/Template/TwigExtension.php Gets the file URL.
TwigExtensionTest::$fileUrlGenerator property core/tests/Drupal/Tests/Core/Template/TwigExtensionTest.php The file URL generator mock.
TwigExtensionTest::testFileUrl function core/tests/Drupal/Tests/Core/Template/TwigExtensionTest.php Tests the file_url filter.
TwigIncludeTest::setUpFilesystem function core/modules/system/tests/src/Kernel/Theme/TwigIncludeTest.php Sets up the filesystem, so things like the file directory.
TwigPhpStorageCache::$templateCacheFilenamePrefix property core/lib/Drupal/Core/Template/TwigPhpStorageCache.php The template cache filename prefix.
TwigThemeTestController::fileUrlRender function core/modules/system/tests/modules/twig_theme_test/src/TwigThemeTestController.php Renders for testing file_url functions in a Twig template.
TwigTransTest::poFileContents function core/modules/system/tests/src/Functional/Theme/TwigTransTest.php Generate a custom .po file for a specific test language.
twig_theme_test.file_url.html.twig file core/modules/system/tests/modules/twig_theme_test/templates/twig_theme_test.file_url.html.twig <div>file_url: {{ file_url('core/modules/system/tests/modules/twig_theme_test/js/twig_theme_test.js') }}</div>
<div>file_url: {{ file_url(undefined_variable) }}</div>
UmamiMultilingualInstallTest::$profile property core/profiles/demo_umami/tests/src/Functional/UmamiMultilingualInstallTest.php The installation profile to install.
UninstallDefaultContentTest::$profile property core/profiles/demo_umami/modules/demo_umami_content/tests/src/Functional/UninstallDefaultContentTest.php The profile to install as a basis for testing.
UnknownPathExcluder::getScaffoldFiles function core/modules/package_manager/src/PathExcluder/UnknownPathExcluder.php Gets the path of scaffold files, for example 'index.php' and 'robots.txt'.
UnpackRecipeTest::$fileSystem property core/tests/Drupal/BuildTests/Composer/Plugin/Unpack/Functional/UnpackRecipeTest.php The Symfony FileSystem component.
UnpackRecipeTest::getFileContents function core/tests/Drupal/BuildTests/Composer/Plugin/Unpack/Functional/UnpackRecipeTest.php Gets the contents of a file as an array.
UnversionedAssetTest::$fileAssetsPath property core/tests/Drupal/FunctionalTests/Asset/UnversionedAssetTest.php The file assets path settings value.
UpdateDeleteFileIfStaleTest class core/modules/update/tests/src/Kernel/UpdateDeleteFileIfStaleTest.php Tests the update_delete_file_if_stale() function.
UpdateDeleteFileIfStaleTest.php file core/modules/update/tests/src/Kernel/UpdateDeleteFileIfStaleTest.php
UpdateDeleteFileIfStaleTest::$modules property core/modules/update/tests/src/Kernel/UpdateDeleteFileIfStaleTest.php Modules to install.
UpdateDeleteFileIfStaleTest::$strictConfigSchema property core/modules/update/tests/src/Kernel/UpdateDeleteFileIfStaleTest.php Disable strict config schema checking.
UpdateDeleteFileIfStaleTest::testUpdateDeleteFileIfStale function core/modules/update/tests/src/Kernel/UpdateDeleteFileIfStaleTest.php Tests the deletion of stale files.
UpdatePathTestBase::$databaseDumpFiles property core/tests/Drupal/FunctionalTests/Update/UpdatePathTestBase.php The file path(s) to the dumped database(s) to load into the child site.
UpdatePathTestBase::setDatabaseDumpFiles function core/tests/Drupal/FunctionalTests/Update/UpdatePathTestBase.php Set database dump files to be used.
UpdatePathTestBaseFilledTest::setDatabaseDumpFiles function core/modules/system/tests/src/Functional/UpdateSystem/UpdatePathTestBaseFilledTest.php Set database dump files to be used.
UpdatePathTestBaseTest::setDatabaseDumpFiles function core/tests/Drupal/FunctionalTests/Update/UpdatePathTestBaseTest.php Set database dump files to be used.

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