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
LoadTest::testLoadMissingFilepath function core/modules/file/tests/src/Kernel/LoadTest.php Try to load a non-existent file by URI.
Local::$fileSystem property core/lib/Drupal/Core/FileTransfer/Local.php The file system service.
Local::copyFileJailed function core/lib/Drupal/Core/FileTransfer/Local.php Copies a file.
Local::isFile function core/lib/Drupal/Core/FileTransfer/Local.php Checks if a particular path is a file (not a directory).
Local::removeFileJailed function core/lib/Drupal/Core/FileTransfer/Local.php Removes a file.
LocaleExportTest::getCustomPoFile function core/modules/locale/tests/src/Functional/LocaleExportTest.php Returns a .po file that will be marked as customized.
LocaleExportTest::getPoFile function core/modules/locale/tests/src/Functional/LocaleExportTest.php Helper function that returns a proper .po file.
LocaleExportTest::testExportTranslationTemplateFile function core/modules/locale/tests/src/Functional/LocaleExportTest.php Tests exportation of translation template file.
LocaleFile class core/modules/locale/src/File/LocaleFile.php Defines the locale file value object.
LocaleFile.php file core/modules/locale/src/File/LocaleFile.php
LocaleFile::$directory property core/modules/locale/src/File/LocaleFile.php The directory the file is in.
LocaleFile::$last_checked property core/modules/locale/src/File/LocaleFile.php When the translation was last checked.
LocaleFile::$type property core/modules/locale/src/File/LocaleFile.php The type of file, local, remote or current.
LocaleFile::createFromPath function core/modules/locale/src/File/LocaleFile.php Creates a LocaleFile from the filepath.
LocaleFile::__construct function core/modules/locale/src/File/LocaleFile.php Creates a LocaleFile object for tracking translation information.
LocaleFileHashTest class core/modules/locale/tests/src/Functional/LocaleFileHashTest.php Tests that file hash is used for local translation file change detection.
LocaleFileHashTest.php file core/modules/locale/tests/src/Functional/LocaleFileHashTest.php
LocaleFileHashTest::$defaultTheme property core/modules/locale/tests/src/Functional/LocaleFileHashTest.php The theme to install as the default for testing.
LocaleFileHashTest::assertHashes function core/modules/locale/tests/src/Functional/LocaleFileHashTest.php Checks that the stored hash values are as expected.
LocaleFileHashTest::setUp function core/modules/locale/tests/src/Functional/LocaleFileHashTest.php
LocaleFileHashTest::testModifiedFileProducesDifferentHash function core/modules/locale/tests/src/Functional/LocaleFileHashTest.php Tests that modifying a file produces a different hash, detected by the UI.
LocaleFileManager class core/modules/locale/src/File/LocaleFileManager.php Provide Locale File helper methods.
LocaleFileManager.php file core/modules/locale/src/File/LocaleFileManager.php
LocaleFileManager::checkRemoteFileStatus function core/modules/locale/src/File/LocaleFileManager.php Check if remote file exists and when it was last updated.
LocaleFileManager::deleteTranslationFiles function core/modules/locale/src/File/LocaleFileManager.php Deletes interface translation files and translation history records.
LocaleFileManager::downloadTranslationSource function core/modules/locale/src/File/LocaleFileManager.php Downloads a translation file from a remote server.
LocaleFileManager::getInterfaceTranslationFiles function core/modules/locale/src/File/LocaleFileManager.php Get interface translation files present in the translations directory.
LocaleFileManager::__construct function core/modules/locale/src/File/LocaleFileManager.php
LocaleFileSystemFormTest class core/modules/locale/tests/src/Functional/LocaleFileSystemFormTest.php Tests the locale functionality in the altered file settings form.
LocaleFileSystemFormTest.php file core/modules/locale/tests/src/Functional/LocaleFileSystemFormTest.php
LocaleFileSystemFormTest::$defaultTheme property core/modules/locale/tests/src/Functional/LocaleFileSystemFormTest.php The theme to install as the default for testing.
LocaleFileSystemFormTest::$modules property core/modules/locale/tests/src/Functional/LocaleFileSystemFormTest.php Modules to install.
LocaleFileSystemFormTest::setUp function core/modules/locale/tests/src/Functional/LocaleFileSystemFormTest.php
LocaleFileSystemFormTest::testFileConfigurationPage function core/modules/locale/tests/src/Functional/LocaleFileSystemFormTest.php Tests translation directory settings on the file settings form.
LocaleHooks::formSystemFileSystemSettingsAlter function core/modules/locale/src/Hook/LocaleHooks.php Implements hook_form_FORM_ID_alter() for system_file_system_settings().
LocaleImportFunctionalTest::getBadPoFile function core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php Helper function that returns a bad .po file.
LocaleImportFunctionalTest::getCustomOverwritePoFile function core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php Helper function that returns a .po file for testing customized strings.
LocaleImportFunctionalTest::getCustomPoFile function core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php Returns a .po file that will be marked as customized.
LocaleImportFunctionalTest::getEmptyPoFile function core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php Helper function that returns an empty .po file.
LocaleImportFunctionalTest::getInvalidEncodedPoFile function core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php Helper function that returns a .po file with invalid encoding.
LocaleImportFunctionalTest::getOverwritePoFile function core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php Helper function that returns a proper .po file for testing.
LocaleImportFunctionalTest::getPoFile function core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php Helper function that returns a proper .po file.
LocaleImportFunctionalTest::getPoFileWithConfig function core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php Helper function that returns a .po file with configuration translations.
LocaleImportFunctionalTest::getPoFileWithConfigDe function core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php Helper function that returns a .po file with configuration translations.
LocaleImportFunctionalTest::getPoFileWithContext function core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php Helper function that returns a .po file with context.
LocaleImportFunctionalTest::getPoFileWithEmptyMsgstr function core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php Helper function that returns a .po file with an empty last item.
LocaleImportFunctionalTest::getPoFileWithMsgstr function core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php Helper function that returns a .po file with an empty last item.
LocaleImportFunctionalTest::importPoFile function core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php Helper function: import a standalone .po file in a given language.
LocaleImportFunctionalTest::testConfigPoFile function core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php Tests .po file import with configuration translation.
LocaleImportFunctionalTest::testConfigTranslationImportingPoFile function core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php Tests .po file import with user.settings configuration.

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