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
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'.
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.
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.
UpdateTestHooks::filetransferInfo function core/modules/update/tests/modules/update_test/src/Hook/UpdateTestHooks.php Implements hook_filetransfer_info().
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.
UploadedFileConstraint::$uploadPartialErrorMessage property core/modules/file/src/Validation/Constraint/UploadedFileConstraint.php The upload partial error message.
UploadedFileConstraintValidator class core/modules/file/src/Validation/Constraint/UploadedFileConstraintValidator.php Constraint validator for uploaded files.
UploadedFileConstraintValidator.php file core/modules/file/src/Validation/Constraint/UploadedFileConstraintValidator.php
UploadedFileConstraintValidator::validate function core/modules/file/src/Validation/Constraint/UploadedFileConstraintValidator.php
UploadedFileConstraintValidatorTest class core/modules/file/tests/src/Kernel/Validation/UploadedFileConstraintValidatorTest.php Tests the uploaded file validator.
UploadedFileConstraintValidatorTest.php file core/modules/file/tests/src/Kernel/Validation/UploadedFileConstraintValidatorTest.php
UploadedFileConstraintValidatorTest::$filename property core/modules/file/tests/src/Kernel/Validation/UploadedFileConstraintValidatorTest.php The file name.
UploadedFileConstraintValidatorTest::$maxSize property core/modules/file/tests/src/Kernel/Validation/UploadedFileConstraintValidatorTest.php The max 4 MB filesize to use for testing.
UploadedFileConstraintValidatorTest::$modules property core/modules/file/tests/src/Kernel/Validation/UploadedFileConstraintValidatorTest.php Modules to install.
UploadedFileConstraintValidatorTest::$path property core/modules/file/tests/src/Kernel/Validation/UploadedFileConstraintValidatorTest.php The temporary file path.
UploadedFileConstraintValidatorTest::$validator property core/modules/file/tests/src/Kernel/Validation/UploadedFileConstraintValidatorTest.php A validator.
UploadedFileConstraintValidatorTest::setUp function core/modules/file/tests/src/Kernel/Validation/UploadedFileConstraintValidatorTest.php
UploadedFileConstraintValidatorTest::testValidateFail function core/modules/file/tests/src/Kernel/Validation/UploadedFileConstraintValidatorTest.php @covers ::validate
@dataProvider validateProvider
UploadedFileConstraintValidatorTest::testValidateSuccess function core/modules/file/tests/src/Kernel/Validation/UploadedFileConstraintValidatorTest.php @covers ::validate
UploadedFileConstraintValidatorTest::validateProvider function core/modules/file/tests/src/Kernel/Validation/UploadedFileConstraintValidatorTest.php Data provider for ::testValidateFail.

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