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
locale_translate_file_create function core/modules/locale/locale.bulk.inc Creates a file object and populates the timestamp property.
locale_translate_get_interface_translation_files function core/modules/locale/locale.bulk.inc Get interface translation files present in the translations directory.
locale_translation_file_history_delete function core/modules/locale/locale.module Deletes the history of downloaded translations.
locale_translation_get_file_history function core/modules/locale/locale.module Gets current translation status from the {locale_file} table.
locale_translation_source_check_file function core/modules/locale/locale.translation.inc Checks whether a po file exists in the local filesystem.
locale_translation_update_file_history function core/modules/locale/locale.module Updates the {locale_file} table.
LocalStream::getFileSystem function core/lib/Drupal/Core/StreamWrapper/LocalStream.php Returns file system service.
LockFileValidator class core/modules/package_manager/src/Validator/LockFileValidator.php Checks that the active lock file is unchanged during stage operations.
LockFileValidator.php file core/modules/package_manager/src/Validator/LockFileValidator.php
LockFileValidator::$keyValue property core/modules/package_manager/src/Validator/LockFileValidator.php The key-value store.
LockFileValidator::deleteHash function core/modules/package_manager/src/Validator/LockFileValidator.php Deletes the stored lock file hash.
LockFileValidator::getHash function core/modules/package_manager/src/Validator/LockFileValidator.php Returns the XXH64 hash of a file.
LockFileValidator::getSubscribedEvents function core/modules/package_manager/src/Validator/LockFileValidator.php
LockFileValidator::KEY constant core/modules/package_manager/src/Validator/LockFileValidator.php The key under which to store the hash of the active lock file.
LockFileValidator::storeHash function core/modules/package_manager/src/Validator/LockFileValidator.php Stores the XXH64 hash of the active lock file.
LockFileValidator::validate function core/modules/package_manager/src/Validator/LockFileValidator.php Checks that the active lock file is unchanged during stage operations.
LockFileValidator::__construct function core/modules/package_manager/src/Validator/LockFileValidator.php
LockFileValidatorTest class core/modules/package_manager/tests/src/Kernel/LockFileValidatorTest.php Tests Drupal\package_manager\Validator\LockFileValidator.
LockFileValidatorTest.php file core/modules/package_manager/tests/src/Kernel/LockFileValidatorTest.php
LockFileValidatorTest::$activeDir property core/modules/package_manager/tests/src/Kernel/LockFileValidatorTest.php The path of the active directory in the test project.
LockFileValidatorTest::providerValidateStageEvents function core/modules/package_manager/tests/src/Kernel/LockFileValidatorTest.php Data provider for test methods that validate the stage directory.
LockFileValidatorTest::register function core/modules/package_manager/tests/src/Kernel/LockFileValidatorTest.php Registers test-specific services.
LockFileValidatorTest::setUp function core/modules/package_manager/tests/src/Kernel/LockFileValidatorTest.php
LockFileValidatorTest::testApplyWithNoChange function core/modules/package_manager/tests/src/Kernel/LockFileValidatorTest.php Tests validation when the staged and active lock files are identical.
LockFileValidatorTest::testCreateWithLock function core/modules/package_manager/tests/src/Kernel/LockFileValidatorTest.php Tests that if an active lock file exists, a stage can be created.
LockFileValidatorTest::testCreateWithNoLock function core/modules/package_manager/tests/src/Kernel/LockFileValidatorTest.php Tests that if no active lock file exists, a stage cannot be created.
LockFileValidatorTest::testLockFileChanged function core/modules/package_manager/tests/src/Kernel/LockFileValidatorTest.php Tests validation when the lock file has changed.
LockFileValidatorTest::testLockFileDeleted function core/modules/package_manager/tests/src/Kernel/LockFileValidatorTest.php Tests validation when the lock file is deleted.
LockFileValidatorTest::testNoStoredHash function core/modules/package_manager/tests/src/Kernel/LockFileValidatorTest.php Tests exception when a stored hash of the active lock file is unavailable.
LockFileValidatorTest::testStatusCheckAvailableStage function core/modules/package_manager/tests/src/Kernel/LockFileValidatorTest.php Tests StatusCheckEvent when the stage is available.
logger.channel.file service core/core.services.yml Drupal\Core\Logger\LoggerChannel
MaintenanceThemeUpdateRegistryTest::$profile property core/modules/system/tests/src/Functional/Theme/MaintenanceThemeUpdateRegistryTest.php The profile to install as a basis for testing.
ManagedFile class core/modules/file/src/Element/ManagedFile.php Provides an AJAX/progress aware widget for uploading and saving a file.
ManagedFile.php file core/modules/file/src/Element/ManagedFile.php
ManagedFile::fileUsage function core/modules/file/src/Element/ManagedFile.php Wraps the file usage service.
ManagedFile::getInfo function core/modules/file/src/Element/ManagedFile.php Returns the element properties for this element.
ManagedFile::preRenderManagedFile function core/modules/file/src/Element/ManagedFile.php Render API callback: Hides display of the upload or remove controls.
ManagedFile::processManagedFile function core/modules/file/src/Element/ManagedFile.php Render API callback: Expands the managed_file element type.
ManagedFile::submit function core/modules/file/src/Element/ManagedFile.php Form submission handler for upload/remove buttons of managed_file elements.
ManagedFile::uploadAjaxCallback function core/modules/file/src/Element/ManagedFile.php The #ajax callback for managed_file upload forms.
ManagedFile::validateManagedFile function core/modules/file/src/Element/ManagedFile.php Render API callback: Validates the managed_file element.
ManagedFile::valueCallback function core/modules/file/src/Element/ManagedFile.php Determines how user input is mapped to an element's #value property.
ManagedFileTest class core/modules/file/tests/src/Kernel/ManagedFileTest.php Managed file element test.
ManagedFileTest.php file core/modules/file/tests/src/Kernel/ManagedFileTest.php
ManagedFileTest::buildForm function core/modules/file/tests/src/Kernel/ManagedFileTest.php Form constructor.
ManagedFileTest::getFormId function core/modules/file/tests/src/Kernel/ManagedFileTest.php Returns a unique string identifying the form.
ManagedFileTest::submitForm function core/modules/file/tests/src/Kernel/ManagedFileTest.php Form submission handler.
ManagedFileTest::testManagedFileElement function core/modules/file/tests/src/Kernel/ManagedFileTest.php Tests that managed file elements can be programmatically submitted.
ManagedFileTest::validateForm function core/modules/file/tests/src/Kernel/ManagedFileTest.php Form validation handler.
ManageGitIgnoreTest::$fileSystem property core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ManageGitIgnoreTest.php The Symfony FileSystem component.

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