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 11.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
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.
TimestampFormatterSettingsUpdateTest::setDatabaseDumpFiles function core/modules/system/tests/src/Functional/Update/TimestampFormatterSettingsUpdateTest.php Set database dump files to be used.
ToolkitGdTest::providerTestImageFiles function core/tests/Drupal/KernelTests/Core/Image/ToolkitGdTest.php Data provider for ::testManipulations().
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/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.
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::testUpdateDeleteFileIfStale function core/modules/update/tests/src/Kernel/UpdateDeleteFileIfStaleTest.php Tests the deletion of stale files.
UpdateDescriptionConfigurationPostUpdate::setDatabaseDumpFiles function core/modules/system/tests/src/Functional/Update/UpdateDescriptionConfigurationPostUpdate.php Set database dump files to be used.
UpdatePathTest::setDatabaseDumpFiles function core/modules/dblog/tests/src/Functional/UpdatePathTest.php Set database dump files to be used.
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.
Updater::findInfoFile function core/lib/Drupal/Core/Updater/Updater.php Determines what the most important (or only) info file is in a directory.
UpdateRegistry::$loadedFiles property core/lib/Drupal/Core/Update/UpdateRegistry.php A static cache of all the extension updates scanned for.
UpdateRegistry::$logFilename property core/lib/Drupal/Core/Update/UpdateRegistry.php The filename of the log file.
UpdateRegistry::loadUpdateFile function core/lib/Drupal/Core/Update/UpdateRegistry.php Loads the {$this->updateType}.php file for a given extension.
UpdateRegistry::loadUpdateFiles function core/lib/Drupal/Core/Update/UpdateRegistry.php Loads all update files for a given list of extension.
UpdateRegistry::scanExtensionsAndLoadUpdateFiles function core/lib/Drupal/Core/Update/UpdateRegistry.php Scans all module, theme, and profile extensions and load the update files.
UpdaterFileTransferException class core/lib/Drupal/Core/Updater/UpdaterFileTransferException.php Defines a child class of Drupal\Core\Updater\UpdaterException.
UpdaterFileTransferException.php file core/lib/Drupal/Core/Updater/UpdaterFileTransferException.php
UpdateSettingsDefaultFetchUrlUpdateTest::setDatabaseDumpFiles function core/modules/update/tests/src/Functional/Update/UpdateSettingsDefaultFetchUrlUpdateTest.php Set database dump files to be used.
UpdateUploadTest::testFileNameExtensionMerging function core/modules/update/tests/src/Functional/UpdateUploadTest.php Ensures that archiver extensions are properly merged in the UI.
update_delete_file_if_stale function core/modules/update/update.module Deletes stale files and directories from the update manager disk cache.
update_manager_file_get function core/modules/update/update.manager.inc Copies a file from the specified URL to the temporary directory for updates.
update_test_filetransfer_info function core/modules/update/tests/modules/update_test/update_test.module Implements hook_filetransfer_info().
UploadedFileConstraint class core/modules/file/src/Validation/Constraint/UploadedFileConstraint.php A constraint for UploadedFile objects.
UploadedFileConstraint.php file core/modules/file/src/Validation/Constraint/UploadedFileConstraint.php
UploadedFileConstraint::$maxSize property core/modules/file/src/Validation/Constraint/UploadedFileConstraint.php The upload max size. Defaults to checking the environment.
UploadedFileConstraint::$uploadErrorMessage property core/modules/file/src/Validation/Constraint/UploadedFileConstraint.php The generic file upload error message.
UploadedFileConstraint::$uploadFormSizeErrorMessage property core/modules/file/src/Validation/Constraint/UploadedFileConstraint.php The upload form size error message.
UploadedFileConstraint::$uploadIniSizeErrorMessage property core/modules/file/src/Validation/Constraint/UploadedFileConstraint.php The upload ini size error message.
UploadedFileConstraint::$uploadNoFileErrorMessage property core/modules/file/src/Validation/Constraint/UploadedFileConstraint.php The upload no file error message.

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