271 string references to file_system in Drupal 10
- AjaxFileManagedMultipleTest::testMultipleFilesUpload in core/
modules/ file/ tests/ src/ FunctionalJavascript/ AjaxFileManagedMultipleTest.php - Tests if managed file form element works well with multiple files upload.
- BrowserTestBase::cleanupEnvironment in core/
tests/ Drupal/ Tests/ BrowserTestBase.php - Clean up the test environment.
- CKEditor5Test::testAttributeEncoding in core/
modules/ ckeditor5/ tests/ src/ FunctionalJavascript/ CKEditor5Test.php - Ensures that attribute values are encoded.
- CKEditor5Test::testEditorFileReferenceIntegration in core/
modules/ ckeditor5/ tests/ src/ FunctionalJavascript/ CKEditor5Test.php - Ensures that CKEditor 5 integrates with file reference filter.
- CommentPreviewTest::testCommentPreview in core/
modules/ comment/ tests/ src/ Functional/ CommentPreviewTest.php - Tests comment preview.
- ConfigController::create in core/
modules/ config/ src/ Controller/ ConfigController.php - Instantiates a new instance of this class.
- ConfigExportImportUITest::testExportImportCollections in core/
modules/ config/ tests/ src/ Functional/ ConfigExportImportUITest.php - Tests an export and import of collections.
- ConfigExportUITest::testExport in core/
modules/ config/ tests/ src/ Functional/ ConfigExportUITest.php - Tests export of configuration.
- ConfigImportForm::create in core/
modules/ config/ src/ Form/ ConfigImportForm.php - Instantiates a new instance of this class.
- ConfigImportUploadTest::testImport in core/
modules/ config/ tests/ src/ Functional/ ConfigImportUploadTest.php - Tests importing configuration.
- ConfigInstallWebTest::testConfigModuleRequirements in core/
modules/ config/ tests/ src/ Functional/ ConfigInstallWebTest.php - Tests config_requirements().
- ConfigTranslationUiTest::testPluralConfigStrings in core/
modules/ config_translation/ tests/ src/ Functional/ ConfigTranslationUiTest.php - Tests translation of plural strings with multiple plural forms in config.
- ConfigTranslationUiTest::testPluralConfigStringsSourceElements in core/
modules/ config_translation/ tests/ src/ Functional/ ConfigTranslationUiTest.php - Tests the number of source elements for plural strings in config translation forms.
- Connection::createDatabase in core/
modules/ sqlite/ src/ Driver/ Database/ sqlite/ Connection.php - Overrides \Drupal\Core\Database\Connection::createDatabase().
- ContentEntityFormFieldValidationFilteringTest::testFieldWidgetsWithLimitedValidationErrors in core/
tests/ Drupal/ FunctionalTests/ Entity/ ContentEntityFormFieldValidationFilteringTest.php - Tests field widgets with #limit_validation_errors.
- ConvertTest::testConvertFileInRoot in core/
modules/ image/ tests/ src/ Functional/ ImageEffect/ ConvertTest.php - Tests that files stored in the root folder are converted properly.
- CopyTest::testEntityStorageException in core/
modules/ file/ tests/ src/ Kernel/ CopyTest.php - Tests for entity storage exception.
- DeleteTest::testCronDeleteNonExistingTemporary in core/
modules/ file/ tests/ src/ Kernel/ DeleteTest.php - Tries to run cron deletion on file deleted from the file-system.
- DirectoryTest::testDirectoryCreation in core/
tests/ Drupal/ KernelTests/ Core/ File/ DirectoryTest.php - Tests directory creation.
- DirectoryTest::testFileCheckDirectoryHandling in core/
tests/ Drupal/ KernelTests/ Core/ File/ DirectoryTest.php - Tests directory handling functions.
- DirectoryTest::testFileCheckLocalDirectoryHandling in core/
tests/ Drupal/ KernelTests/ Core/ File/ DirectoryTest.php - Tests local directory handling functions.
- DirectoryTest::testFileCreateNewFilepath in core/
tests/ Drupal/ KernelTests/ Core/ File/ DirectoryTest.php - This will take a directory and path, and find a valid filepath that is not taken by another file.
- DirectoryTest::testFileDestination in core/
tests/ Drupal/ KernelTests/ Core/ File/ DirectoryTest.php - This will test the filepath for a destination based on passed flags and whether or not the file exists.
- DirectoryTest::testFileDirectoryTemp in core/
tests/ Drupal/ KernelTests/ Core/ File/ DirectoryTest.php - Ensure that the getTempDirectory() method always returns a value.
- DirectoryTest::testMultiplePrepareDirectory in core/
tests/ Drupal/ KernelTests/ Core/ File/ DirectoryTest.php - Tests asynchronous directory creation.
- Download::create in core/
modules/ migrate/ src/ Plugin/ migrate/ process/ Download.php - Creates an instance of the plugin.
- DownloadTest::checkUrl in core/
modules/ file/ tests/ src/ Functional/ DownloadTest.php - Download a file from the URL generated by generateString().
- DownloadTest::testWriteProtectedDestination in core/
modules/ migrate/ tests/ src/ Kernel/ process/ DownloadTest.php - Tests that an exception is thrown if the destination URI is not writable.
- DrupalSelenium2DriverTest::testGetRemoteFilePath in core/
tests/ Drupal/ FunctionalJavascriptTests/ Tests/ DrupalSelenium2DriverTest.php - Tests uploading remote files.
- drupal_find_theme_templates in core/
includes/ theme.inc - Allows themes and/or theme engines to easily discover overridden templates.
- drupal_get_database_types in core/
includes/ install.inc - Returns all supported database driver installer objects.
- drupal_install_mkdir in core/
includes/ install.inc - Creates a directory with the specified permissions.
- EditorFileReferenceFilterTest::testEditorFileReferenceFilter in core/
modules/ editor/ tests/ src/ Kernel/ EditorFileReferenceFilterTest.php - Tests the editor file reference filter.
- EditorFileUsageTest::testEditorEntityHooks in core/
modules/ editor/ tests/ src/ Kernel/ EditorFileUsageTest.php - Tests the configurable text editor manager.
- EditorUploadImageScaleTest::uploadImage in core/
modules/ editor/ tests/ src/ Functional/ EditorUploadImageScaleTest.php - Uploads an image via the editor dialog.
- EmbeddedFormWidgetTest::testInsertionAndReselection in core/
modules/ media_library/ tests/ src/ FunctionalJavascript/ EmbeddedFormWidgetTest.php - Tests media inside another widget that validates too enthusiastically.
- EntityReferenceFileUploadTest::testFileUpload in core/
modules/ field/ tests/ src/ Functional/ EntityReference/ EntityReferenceFileUploadTest.php - Tests that the autocomplete input element does not cause ajax fatal.
- EnvironmentCleanerTest::testDoCleanTemporaryDirectories in core/
tests/ Drupal/ KernelTests/ Core/ Test/ EnvironmentCleanerTest.php - @covers ::doCleanTemporaryDirectories
- ExportForm::create in core/
modules/ locale/ src/ Form/ ExportForm.php - Instantiates a new instance of this class.
- ExtensionMimeTypeGuesser::guessMimeType in core/
lib/ Drupal/ Core/ File/ MimeType/ ExtensionMimeTypeGuesser.php - FieldImportCreateTest::testImportCreate in core/
modules/ field/ tests/ src/ Kernel/ FieldImportCreateTest.php - Tests creating field storages and fields during config import.
- File::preCreate in core/
modules/ file/ src/ Entity/ File.php - Changes the values of an entity before it is created.
- File::preDelete in core/
modules/ file/ src/ Entity/ File.php - Acts on entities before they are deleted and before hooks are invoked.
- FileCopy::create in core/
modules/ migrate/ src/ Plugin/ migrate/ process/ FileCopy.php - Creates an instance of the plugin.
- FileCopyTest::setUp in core/
modules/ migrate/ tests/ src/ Kernel/ process/ FileCopyTest.php - FileCopyTest::testDownloadRemoteUri in core/
modules/ migrate/ tests/ src/ Kernel/ process/ FileCopyTest.php - Tests that remote URIs are delegated to the download plugin.
- FileCopyTest::testNonExistent in core/
tests/ Drupal/ KernelTests/ Core/ File/ FileCopyTest.php - Copy a non-existent file.
- FileCopyTest::testNormal in core/
tests/ Drupal/ KernelTests/ Core/ File/ FileCopyTest.php - Copy a normal file.
- FileCopyTest::testOverwriteSelf in core/
tests/ Drupal/ KernelTests/ Core/ File/ FileCopyTest.php - Copy a file onto itself.
- FileDeleteRecursiveTest::testDirectory in core/
tests/ Drupal/ KernelTests/ Core/ File/ FileDeleteRecursiveTest.php - Try deleting a directory with some files.
- FileDeleteRecursiveTest::testEmptyDirectory in core/
tests/ Drupal/ KernelTests/ Core/ File/ FileDeleteRecursiveTest.php - Try deleting an empty directory.
- FileDeleteRecursiveTest::testSingleFile in core/
tests/ Drupal/ KernelTests/ Core/ File/ FileDeleteRecursiveTest.php - Delete a normal file.
- FileDeleteRecursiveTest::testSubDirectory in core/
tests/ Drupal/ KernelTests/ Core/ File/ FileDeleteRecursiveTest.php - Try deleting subdirectories with some files.
- FileDeleteTest::testDirectory in core/
tests/ Drupal/ KernelTests/ Core/ File/ FileDeleteTest.php - Try deleting a directory.
- FileDeleteTest::testMissing in core/
tests/ Drupal/ KernelTests/ Core/ File/ FileDeleteTest.php - Try deleting a missing file.
- FileDeleteTest::testNormal in core/
tests/ Drupal/ KernelTests/ Core/ File/ FileDeleteTest.php - Delete a normal file.
- FileFieldAnonymousSubmissionTest::doTestNodeWithFileWithoutTitle in core/
modules/ file/ tests/ src/ Functional/ FileFieldAnonymousSubmissionTest.php - Helper method to test file submissions with missing node titles.
- FileFieldAnonymousSubmissionTest::testAnonymousNodeWithFile in core/
modules/ file/ tests/ src/ Functional/ FileFieldAnonymousSubmissionTest.php - Tests file submission for an anonymous visitor.
- FileFieldDisplayTest::testDescToggle in core/
modules/ file/ tests/ src/ Functional/ FileFieldDisplayTest.php - Tests description toggle for field instance configuration.
- FileFieldDisplayTest::testNodeDisplay in core/
modules/ file/ tests/ src/ Functional/ FileFieldDisplayTest.php - Tests normal formatter display on node display.
- FileFieldTestBase::replaceNodeFile in core/
modules/ file/ tests/ src/ Functional/ FileFieldTestBase.php - Replaces a file within a node.
- FileFieldTestBase::uploadNodeFiles in core/
modules/ file/ tests/ src/ Functional/ FileFieldTestBase.php - Uploads multiple files to a node.
- FileFieldValidateTest::testAjaxValidationMessage in core/
modules/ file/ tests/ src/ FunctionalJavascript/ FileFieldValidateTest.php - Tests the validation message is displayed only once for ajax uploads.
- FileFieldWidgetTest::doTestTemporaryFileRemovalExploit in core/
modules/ file/ tests/ src/ Functional/ FileFieldWidgetTest.php - Helper for testing exploiting the temporary file removal using fid.
- FileFieldWidgetTest::testMultiValuedWidget in core/
modules/ file/ tests/ src/ Functional/ FileFieldWidgetTest.php - Tests upload and remove buttons for multiple multi-valued File fields.
- FileFieldWidgetTest::testMultiValuedWidget in core/
modules/ file/ tests/ src/ FunctionalJavascript/ FileFieldWidgetTest.php - Tests upload and remove buttons for multiple multi-valued File fields.
- FileFieldWidgetTest::testPrivateFileComment in core/
modules/ file/ tests/ src/ Functional/ FileFieldWidgetTest.php - Tests that download restrictions on private files work on comments.
- FileFieldWidgetTest::testSingleValuedWidget in core/
modules/ file/ tests/ src/ FunctionalJavascript/ FileFieldWidgetTest.php - Tests uploading and remove buttons for a single-valued File field.
- FileFieldWidgetTest::testUploadingMoreFilesThanAllowed in core/
modules/ file/ tests/ src/ FunctionalJavascript/ FileFieldWidgetTest.php - Tests uploading more files than allowed at once.
- FileFieldWidgetTest::testWidgetElement in core/
modules/ file/ tests/ src/ Functional/ FileFieldWidgetTest.php - Tests file widget element.
- FileFieldWidgetTest::testWidgetValidation in core/
modules/ file/ tests/ src/ Functional/ FileFieldWidgetTest.php - Tests validation with the Upload button.
- FileItem::generateSampleValue in core/
modules/ file/ src/ Plugin/ Field/ FieldType/ FileItem.php - Generates placeholder field values.
- FileListingTest::testFileListingPages in core/
modules/ file/ tests/ src/ Functional/ FileListingTest.php - Tests file overview with different user permissions.
- FileManagedFileElementTest::testFileNameTrim in core/
modules/ file/ tests/ src/ Functional/ FileManagedFileElementTest.php - Tests file names have leading . removed.
- FileManagedFileElementTest::testFileRemovedFromDisk in core/
modules/ file/ tests/ src/ Functional/ FileManagedFileElementTest.php - Ensure a file entity can be saved when the file does not exist on disk.
- FileManagedFileElementTest::testManagedFile in core/
modules/ file/ tests/ src/ Functional/ FileManagedFileElementTest.php - Tests the managed_file element type.
- FileManagedFileElementTest::testManagedFile in core/
modules/ file/ tests/ src/ FunctionalJavascript/ FileManagedFileElementTest.php - Tests the managed_file element type.
- FileManagedFileElementTest::testManagedFileRemoved in core/
modules/ file/ tests/ src/ Functional/ FileManagedFileElementTest.php - Ensure that warning is shown if file on the field has been removed.
- FileMigrationSetupTrait::fileMigrationSetup in core/
modules/ file/ tests/ src/ Kernel/ Migrate/ d7/ FileMigrationSetupTrait.php - Prepare the file migration for running.
- FileMoveTest::testMissing in core/
tests/ Drupal/ KernelTests/ Core/ File/ FileMoveTest.php - Try to move a missing file.
- FileMoveTest::testNormal in core/
tests/ Drupal/ KernelTests/ Core/ File/ FileMoveTest.php - Move a normal file.
- FileMoveTest::testOverwriteSelf in core/
tests/ Drupal/ KernelTests/ Core/ File/ FileMoveTest.php - Try to move a file onto itself.
- FileOnTranslatedEntityTest::testSyncedFiles in core/
modules/ file/ tests/ src/ Functional/ FileOnTranslatedEntityTest.php - Tests synced file fields on translated nodes.
- FilePathTest::setUp in core/
modules/ migrate_drupal_ui/ tests/ src/ Functional/ d7/ FilePathTest.php - FilePrivateTest::testPrivateFile in core/
modules/ file/ tests/ src/ Functional/ FilePrivateTest.php - Tests file access for file uploaded to a private node.
- FileRepositoryTest::setUp in core/
modules/ file/ tests/ src/ Kernel/ FileRepositoryTest.php - FileRepositoryTest::testEntityStorageException in core/
modules/ file/ tests/ src/ Kernel/ FileRepositoryTest.php - Tests for entity storage exception.
- FileRepositoryTest::testWithFilename in core/
modules/ file/ tests/ src/ Kernel/ FileRepositoryTest.php - Tests the writeData() method.
- FileSaveDataTest::testFileSaveData in core/
tests/ Drupal/ KernelTests/ Core/ File/ FileSaveDataTest.php - Tests the file_unmanaged_save_data() function.
- FileStorage::getFileSystem in core/
lib/ Drupal/ Core/ Config/ FileStorage.php - Returns file system service.
- FileSystemForm::create in core/
modules/ system/ src/ Form/ FileSystemForm.php - Instantiates a new instance of this class.
- FileSystemTest::setUp in core/
tests/ Drupal/ KernelTests/ Core/ File/ FileSystemTest.php - FileTestBase::createDirectory in core/
tests/ Drupal/ KernelTests/ Core/ File/ FileTestBase.php - Create a directory and assert it exists.
- FileTestForm::submitForm in core/
modules/ file/ tests/ file_test/ src/ Form/ FileTestForm.php - Form submission handler.
- FileTestSaveUploadFromForm::validateForm in core/
modules/ file/ tests/ file_test/ src/ Form/ FileTestSaveUploadFromForm.php - Form validation handler.
- FileTokenReplaceTest::testFileTokenReplacement in core/
modules/ file/ tests/ src/ Functional/ FileTokenReplaceTest.php - Creates a file, then tests the tokens generated from it.
- FileTransfer::checkPath in core/
lib/ Drupal/ Core/ FileTransfer/ FileTransfer.php - Checks that the path is inside the jail and throws an exception if not.
- FileTransfer::copyDirectoryJailed in core/
lib/ Drupal/ Core/ FileTransfer/ FileTransfer.php - Copies a directory.
- FileTransfer::findChroot in core/
lib/ Drupal/ Core/ FileTransfer/ FileTransfer.php - Returns the chroot property for this connection.
- FileUploadForm::create in core/
modules/ media_library/ src/ Form/ FileUploadForm.php - FileUploadResource::create in core/
modules/ file/ src/ Plugin/ rest/ resource/ FileUploadResource.php - Creates an instance of the plugin.
- FileUploadResourceTestBase::testPostFileUploadDuplicateFileRaceCondition in core/
modules/ rest/ tests/ src/ Functional/ FileUploadResourceTestBase.php - Tests using the file upload POST route twice, simulating a race condition.
- FileUploadTest::testPostFileUploadDuplicateFileRaceCondition in core/
modules/ jsonapi/ tests/ src/ Functional/ FileUploadTest.php - Tests using the file upload POST route twice, simulating a race condition.
- FileUrlGeneratorTest::testPublicManagedFileURL in core/
tests/ Drupal/ KernelTests/ Core/ File/ FileUrlGeneratorTest.php - Tests the rewriting of public managed file URLs by hook_file_url_alter().
- FileUrlGeneratorTest::testRelativeFileURL in core/
tests/ Drupal/ KernelTests/ Core/ File/ FileUrlGeneratorTest.php - Tests generate absolute string with relative URL.
- FileUrlTest::testFilesUrlWithDifferentHostName in core/
modules/ file/ tests/ src/ Kernel/ FileUrlTest.php - Tests public files with a different host name from settings.
- file_managed_file_save_upload in core/
modules/ file/ file.module - Saves any files that have been uploaded into a managed_file element.
- FilterHtmlImageSecureTest::testImageSource in core/
modules/ filter/ tests/ src/ Functional/ FilterHtmlImageSecureTest.php - Tests removal of images having a non-local source.
- FolderTest::testFolderSetup in core/
tests/ Drupal/ FunctionalTests/ FolderTest.php - FunctionalTestSetupTrait::initConfig in core/
lib/ Drupal/ Core/ Test/ FunctionalTestSetupTrait.php - Initialize various configurations post-installation.
- FunctionalTestSetupTrait::prepareEnvironment in core/
lib/ Drupal/ Core/ Test/ FunctionalTestSetupTrait.php - Prepares the current environment for running the test.
- GDToolkit::create in core/
modules/ system/ src/ Plugin/ ImageToolkit/ GDToolkit.php - HelpTopicTranslatedTestBase::installParameters in core/
modules/ help_topics/ tests/ src/ Functional/ HelpTopicTranslatedTestBase.php - Image::create in core/
modules/ media/ src/ Plugin/ media/ Source/ Image.php - Creates an instance of the plugin.
- Image::save in core/
lib/ Drupal/ Core/ Image/ Image.php - ImageAdminStylesTest::createSampleImage in core/
modules/ image/ tests/ src/ Functional/ ImageAdminStylesTest.php - Given an image style, generate an image.
- ImageAdminStylesTest::getImageCount in core/
modules/ image/ tests/ src/ Functional/ ImageAdminStylesTest.php - Count the number of images currently create for a style.
- ImageDimensionsTest::testImageDimensions in core/
modules/ image/ tests/ src/ Functional/ ImageDimensionsTest.php - Tests styled image dimensions cumulatively.
- ImageFieldDefaultImagesTest::testDefaultImages in core/
modules/ image/ tests/ src/ Functional/ ImageFieldDefaultImagesTest.php - Tests CRUD for fields and field storages with default images.
- ImageFieldDisplayTest::testImageFieldDefaultImage in core/
modules/ image/ tests/ src/ Functional/ ImageFieldDisplayTest.php - Tests use of a default image with an image field.
- ImageFieldDisplayTest::testImageFieldSettings in core/
modules/ image/ tests/ src/ Functional/ ImageFieldDisplayTest.php - Tests for image field settings.
- ImageFieldTestBase::previewNodeImage in core/
modules/ image/ tests/ src/ Functional/ ImageFieldTestBase.php - Preview an image in a node.
- ImageFieldTestBase::uploadNodeImage in core/
modules/ image/ tests/ src/ Functional/ ImageFieldTestBase.php - Upload an image to a node.
- ImageFieldValidateTest::testAJAXValidationMessage in core/
modules/ image/ tests/ src/ FunctionalJavascript/ ImageFieldValidateTest.php - Tests the validation message is displayed only once for ajax uploads.
- ImageFieldValidateTest::testValid in core/
modules/ image/ tests/ src/ Functional/ ImageFieldValidateTest.php - Tests image validity.
- ImageFieldWidgetMultipleTest::testWidgetElementMultipleUploads in core/
modules/ image/ tests/ src/ FunctionalJavascript/ ImageFieldWidgetMultipleTest.php - Tests image widget element support multiple upload correctly.
- ImageItem::generateSampleValue in core/
modules/ image/ src/ Plugin/ Field/ FieldType/ ImageItem.php - Generates placeholder field values.
- ImageItemTest::setUp in core/
modules/ image/ tests/ src/ Kernel/ ImageItemTest.php - ImageItemTest::testImageItem in core/
modules/ image/ tests/ src/ Kernel/ ImageItemTest.php - Tests using entity fields of the image field type.
- ImageOnTranslatedEntityTest::testSyncedImages in core/
modules/ image/ tests/ src/ Functional/ ImageOnTranslatedEntityTest.php - Tests synced file fields on translated nodes.
- ImageStyle::createDerivative in core/
modules/ image/ src/ Entity/ ImageStyle.php - Creates a new image derivative based on this image style.
- ImageStyle::flush in core/
modules/ image/ src/ Entity/ ImageStyle.php - Flushes cached media for this style.
- ImageStyleCustomStreamWrappersTest::setUp in core/
modules/ image/ tests/ src/ Kernel/ ImageStyleCustomStreamWrappersTest.php - ImageStyleDownloadController::create in core/
modules/ image/ src/ Controller/ ImageStyleDownloadController.php - ImageStyleFlushTest::createSampleImage in core/
modules/ image/ tests/ src/ Functional/ ImageStyleFlushTest.php - Given an image style and a wrapper, generate an image.
- ImageStyleFlushTest::getImageCount in core/
modules/ image/ tests/ src/ Functional/ ImageStyleFlushTest.php - Count the number of images currently created for a style in a wrapper.
- ImageStylesPathAndUrlTest::doImageStyleUrlAndPathTests in core/
modules/ image/ tests/ src/ Functional/ ImageStylesPathAndUrlTest.php - Tests building an image style URL.
- ImageTest::testAltTextRequired in core/
modules/ ckeditor5/ tests/ src/ FunctionalJavascript/ ImageTest.php - Tests that alt text is required for images.
- ImageTest::testChmodFails in core/
tests/ Drupal/ Tests/ Core/ Image/ ImageTest.php - Tests \Drupal\Core\Image\Image::save().
- ImageTest::testResize in core/
modules/ ckeditor5/ tests/ src/ FunctionalJavascript/ ImageTest.php - Tests the image resize plugin.
- ImageTest::testSave in core/
tests/ Drupal/ Tests/ Core/ Image/ ImageTest.php - Tests \Drupal\Core\Image\Image::save().
- ImageThemeFunctionTest::setUp in core/
modules/ image/ tests/ src/ Kernel/ ImageThemeFunctionTest.php - ImageThemeFunctionTest::testImageFormatterTheme in core/
modules/ image/ tests/ src/ Kernel/ ImageThemeFunctionTest.php - Tests usage of the image field formatters.
- ImageThemeFunctionTest::testImageStyleTheme in core/
modules/ image/ tests/ src/ Kernel/ ImageThemeFunctionTest.php - Tests usage of the image style theme function.
- ImageUploadAccessTest::testCkeditor5ImageUploadRoute in core/
modules/ ckeditor5/ tests/ src/ Functional/ ImageUploadAccessTest.php - Test access to the CKEditor 5 image upload controller.
- image_field_config_update in core/
modules/ image/ image.module - Implements hook_ENTITY_TYPE_update() for 'field_config'.
- image_field_storage_config_update in core/
modules/ image/ image.module - Implements hook_ENTITY_TYPE_update() for 'field_storage_config'.
- image_install in core/
modules/ image/ image.install - Implements hook_install().
- image_uninstall in core/
modules/ image/ image.install - Implements hook_uninstall().
- InlineBlockPrivateFilesTest::setUp in core/
modules/ layout_builder/ tests/ src/ FunctionalJavascript/ InlineBlockPrivateFilesTest.php - InstallerLanguageTest::testInstallerTranslationFiles in core/
tests/ Drupal/ KernelTests/ Core/ Installer/ InstallerLanguageTest.php - Tests that the installer can find translation files.
- InstallHelper::create in core/
profiles/ demo_umami/ modules/ demo_umami_content/ src/ InstallHelper.php - InstallTranslationFilePatternTest::setUp in core/
modules/ system/ tests/ src/ Kernel/ Installer/ InstallTranslationFilePatternTest.php - install_begin_request in core/
includes/ install.core.inc - Begins an installation request, modifying the installation state as needed.
- install_check_requirements in core/
includes/ install.core.inc - Checks installation requirements and reports any errors.
- install_check_translations in core/
includes/ install.core.inc - Checks installation requirements and reports any errors.
- install_retrieve_file in core/
includes/ install.core.inc - Attempts to get a file using a HTTP request and to store it locally.
- LanguageUILanguageNegotiationTest::testUILanguageNegotiation in core/
modules/ language/ tests/ src/ Functional/ LanguageUILanguageNegotiationTest.php - Tests for language switching by URL path.
- Local::factory in core/
lib/ Drupal/ Core/ FileTransfer/ Local.php - Defines a factory method for this class.
- Local::removeDirectoryJailed in core/
lib/ Drupal/ Core/ FileTransfer/ Local.php - Removes a directory.
- LocaleExportTest::setUp in core/
modules/ locale/ tests/ src/ Functional/ LocaleExportTest.php - LocaleExportTest::testExportTranslation in core/
modules/ locale/ tests/ src/ Functional/ LocaleExportTest.php - Tests exportation of translations.
- LocaleImportFunctionalTest::importPoFile in core/
modules/ locale/ tests/ src/ Functional/ LocaleImportFunctionalTest.php - Helper function: import a standalone .po file in a given language.
- LocaleImportFunctionalTest::setUp in core/
modules/ locale/ tests/ src/ Functional/ LocaleImportFunctionalTest.php - LocaleNonInteractiveInstallTest::installParameters in core/
modules/ locale/ tests/ src/ Functional/ LocaleNonInteractiveInstallTest.php - LocalePluralFormatTest::importPoFile in core/
modules/ locale/ tests/ src/ Functional/ LocalePluralFormatTest.php - Imports a standalone .po file in a given language.
- LocaleTranslationUiTest::testJavaScriptTranslation in core/
modules/ locale/ tests/ src/ Functional/ LocaleTranslationUiTest.php - Adds a language and checks that the JavaScript translation files are properly created and rebuilt on deletion.
- LocaleUpdateBase::makePoFile in core/
modules/ locale/ tests/ src/ Functional/ LocaleUpdateBase.php - Creates a translation file and tests its timestamp.
- LocaleUpdateBase::setTranslationsDirectory in core/
modules/ locale/ tests/ src/ Functional/ LocaleUpdateBase.php - Sets the value of the default translations directory.
- LocaleUpdateCronTest::testUpdateCron in core/
modules/ locale/ tests/ src/ Functional/ LocaleUpdateCronTest.php - Tests interface translation update using cron.
- locale_install in core/
modules/ locale/ locale.install - Implements hook_install().
- locale_translate_batch_import in core/
modules/ locale/ locale.bulk.inc - Implements callback_batch_operation().
- locale_translate_delete_translation_files in core/
modules/ locale/ locale.bulk.inc - Deletes interface translation files and translation history records.
- locale_translate_file_create in core/
modules/ locale/ locale.bulk.inc - Creates a file object and populates the timestamp property.
- locale_translate_get_interface_translation_files in core/
modules/ locale/ locale.bulk.inc - Get interface translation files present in the translations directory.
- locale_translation_source_build in core/
modules/ locale/ locale.translation.inc - Builds abstract translation source.
- locale_translation_source_check_file in core/
modules/ locale/ locale.translation.inc - Checks whether a po file exists in the local filesystem.
- locale_uninstall in core/
modules/ locale/ locale.install - Implements hook_uninstall().
- LocalStream::getFileSystem in core/
lib/ Drupal/ Core/ StreamWrapper/ LocalStream.php - Returns file system service.
- LocalStream::getLocalPath in core/
lib/ Drupal/ Core/ StreamWrapper/ LocalStream.php - Returns the canonical absolute path of the URI, if possible.
- LocalStream::mkdir in core/
lib/ Drupal/ Core/ StreamWrapper/ LocalStream.php - LocalStream::rmdir in core/
lib/ Drupal/ Core/ StreamWrapper/ LocalStream.php - MailTest::testRenderedElementsUseAbsolutePaths in core/
modules/ system/ tests/ src/ Kernel/ Mail/ MailTest.php - Checks that mails built from render arrays contain absolute paths.
- MaximumFileSizeExceededUploadTest::setUp in core/
modules/ file/ tests/ src/ FunctionalJavascript/ MaximumFileSizeExceededUploadTest.php - MediaDisplayTest::testMediaDisplay in core/
modules/ media/ tests/ src/ FunctionalJavascript/ MediaDisplayTest.php - Tests basic media display.
- MediaRevisionTest::testFileMediaRevision in core/
modules/ media/ tests/ src/ Functional/ MediaRevisionTest.php - Tests creating revisions of a File media item.
- MediaSourceAudioVideoTest::testAudioTypeCreation in core/
modules/ media/ tests/ src/ FunctionalJavascript/ MediaSourceAudioVideoTest.php - Check the Audio source functionality.
- MediaSourceAudioVideoTest::testVideoTypeCreation in core/
modules/ media/ tests/ src/ FunctionalJavascript/ MediaSourceAudioVideoTest.php - Check the Video source functionality.
- MediaSourceFileTest::testMediaFileSource in core/
modules/ media/ tests/ src/ FunctionalJavascript/ MediaSourceFileTest.php - Tests the file media source.
- MediaStandardProfileTest::audioTest in core/
modules/ media/ tests/ src/ FunctionalJavascript/ MediaStandardProfileTest.php - Tests the standard profile configuration for media type 'audio'.
- MediaStandardProfileTest::documentTest in core/
modules/ media/ tests/ src/ FunctionalJavascript/ MediaStandardProfileTest.php - Tests the standard profile configuration for media type 'document'.
- MediaStandardProfileTest::videoTest in core/
modules/ media/ tests/ src/ FunctionalJavascript/ MediaStandardProfileTest.php - Tests the standard profile configuration for media type 'video'.
- media_install in core/
modules/ media/ media.install - Implements hook_install().
- media_requirements in core/
modules/ media/ media.install - Implements hook_requirements().
- MigrateUpgradeTestBase::assertFileMigrations in core/
modules/ migrate_drupal_ui/ tests/ src/ Functional/ MigrateUpgradeTestBase.php - Checks public and private files are copied but not temporary files.
- MoveTest::testEntityStorageException in core/
modules/ file/ tests/ src/ Kernel/ MoveTest.php - Tests for entity storage exception.
- NodeImportCreateTest::testImportCreate in core/
modules/ node/ tests/ src/ Kernel/ Config/ NodeImportCreateTest.php - Tests creating a content type during config import.
- NodeTypeTranslationTest::installParameters in core/
modules/ node/ tests/ src/ Functional/ NodeTypeTranslationTest.php - Install Drupal in a language other than English for this test. This is not needed to test the node type translation itself but acts as a regression test.
- OEmbed::create in core/
modules/ media/ src/ Plugin/ media/ Source/ OEmbed.php - Creates an instance of the plugin.
- PhpUnitTestRunner::create in core/
lib/ Drupal/ Core/ Test/ PhpUnitTestRunner.php - PrivateFileOnTranslatedEntityTest::testPrivateLanguageFile in core/
modules/ file/ tests/ src/ Functional/ PrivateFileOnTranslatedEntityTest.php - Tests private file fields on translated nodes.
- QuickEditImageController::create in core/
modules/ quickedit/ src/ Controller/ QuickEditImageController.php - Instantiates a new instance of this class.
- QuickEditImageControllerTest::uploadImage in core/
modules/ quickedit/ tests/ src/ Functional/ QuickEditImageControllerTest.php - Uploads an image using the image module's Quick Edit route.
- QuickEditImageEditorTestTrait::dropImageOnImageEditor in core/
modules/ quickedit/ tests/ src/ FunctionalJavascript/ QuickEditImageEditorTestTrait.php - Simulates dragging and dropping an image on the 'image' in-place editor.
- QuickEditLoadingTest::testImageField in core/
modules/ quickedit/ tests/ src/ FunctionalJavascript/ QuickEditLoadingTest.php - Tests that Quick Edit can handle an image field.
- ReadOnlyStreamWrapperTest::testReadOnlyBehavior in core/
tests/ Drupal/ KernelTests/ Core/ File/ ReadOnlyStreamWrapperTest.php - Tests read-only specific behavior.
- RetrieveFileTest::testFileRetrieving in core/
modules/ system/ tests/ src/ Functional/ System/ RetrieveFileTest.php - Invokes system_retrieve_file() in several scenarios.
- SaveUploadFormTest::setUp in core/
modules/ file/ tests/ src/ Functional/ SaveUploadFormTest.php - SaveUploadFormTest::testCombinedErrorMessages in core/
modules/ file/ tests/ src/ Functional/ SaveUploadFormTest.php - Tests that multiple validation errors are combined in one message.
- SaveUploadFormTest::testDrupalMovingUploadedFileError in core/
modules/ file/ tests/ src/ Functional/ SaveUploadFormTest.php - Tests for log entry on failing destination.
- SaveUploadFormTest::testErrorMessagesAreNotChanged in core/
modules/ file/ tests/ src/ Functional/ SaveUploadFormTest.php - Tests that form validation does not change error messages.
- SaveUploadFormTest::testExistingError in core/
modules/ file/ tests/ src/ Functional/ SaveUploadFormTest.php - Tests for failure when uploading over a file that already exists.
- SaveUploadFormTest::testExistingRename in core/
modules/ file/ tests/ src/ Functional/ SaveUploadFormTest.php - Tests renaming when uploading over a file that already exists.
- SaveUploadFormTest::testExistingReplace in core/
modules/ file/ tests/ src/ Functional/ SaveUploadFormTest.php - Tests replacement when uploading over a file that already exists.
- SaveUploadFormTest::testHandleDangerousFile in core/
modules/ file/ tests/ src/ Functional/ SaveUploadFormTest.php - Tests dangerous file handling.
- SaveUploadFormTest::testHandleExtension in core/
modules/ file/ tests/ src/ Functional/ SaveUploadFormTest.php - Tests extension handling.
- SaveUploadFormTest::testHandleFileMunge in core/
modules/ file/ tests/ src/ Functional/ SaveUploadFormTest.php - Tests file munge handling.
- SaveUploadFormTest::testNormal in core/
modules/ file/ tests/ src/ Functional/ SaveUploadFormTest.php - Tests the _file_save_upload_from_form() function.
- SaveUploadFormTest::testUploadFieldIsHighlighted in core/
modules/ file/ tests/ src/ Functional/ SaveUploadFormTest.php - Tests highlighting of file upload field when it has an error.
- SaveUploadTest::setUp in core/
modules/ file/ tests/ src/ Functional/ SaveUploadTest.php - SaveUploadTest::testDrupalMovingUploadedFileError in core/
modules/ file/ tests/ src/ Functional/ SaveUploadTest.php - Tests for log entry on failing destination.
- SaveUploadTest::testDuplicate in core/
modules/ file/ tests/ src/ Functional/ SaveUploadTest.php - Tests uploading a duplicate file.
- SaveUploadTest::testExistingError in core/
modules/ file/ tests/ src/ Functional/ SaveUploadTest.php - Tests for failure when uploading over a file that already exists.
- SaveUploadTest::testExistingRename in core/
modules/ file/ tests/ src/ Functional/ SaveUploadTest.php - Tests renaming when uploading over a file that already exists.
- SaveUploadTest::testExistingReplace in core/
modules/ file/ tests/ src/ Functional/ SaveUploadTest.php - Tests replacement when uploading over a file that already exists.
- SaveUploadTest::testHandleDangerousFile in core/
modules/ file/ tests/ src/ Functional/ SaveUploadTest.php - Tests dangerous file handling.
- SaveUploadTest::testHandleDotFile in core/
modules/ file/ tests/ src/ Functional/ SaveUploadTest.php - Test dangerous file handling.
- SaveUploadTest::testHandleExtension in core/
modules/ file/ tests/ src/ Functional/ SaveUploadTest.php - Tests extension handling.
- SaveUploadTest::testHandleFileMunge in core/
modules/ file/ tests/ src/ Functional/ SaveUploadTest.php - Tests file munge handling.
- SaveUploadTest::testNormal in core/
modules/ file/ tests/ src/ Functional/ SaveUploadTest.php - Tests the file_save_upload() function.
- ScanDirectoryTest::setUp in core/
tests/ Drupal/ KernelTests/ Core/ File/ ScanDirectoryTest.php - SiteSettingsForm::createRandomConfigDirectory in core/
lib/ Drupal/ Core/ Installer/ Form/ SiteSettingsForm.php - Create a random config sync directory.
- StandardProfileTest::setUp in core/
modules/ rdf/ tests/ src/ Functional/ StandardProfileTest.php - StateValuesCleanAdvancedTest::testFormStateValuesCleanAdvanced in core/
modules/ system/ tests/ src/ Functional/ Form/ StateValuesCleanAdvancedTest.php - Tests \Drupal\Core\Form\FormState::cleanValues().
- StreamWrapperTest::testUriFunctions in core/
tests/ Drupal/ KernelTests/ Core/ File/ StreamWrapperTest.php - Tests the getViaUri() and getViaScheme() methods and target functions.
- SysLogTest::syslogWrapper in core/
modules/ syslog/ tests/ modules/ syslog_test/ src/ Logger/ SysLogTest.php - SyslogTest::testSyslogSeverity in core/
modules/ syslog/ tests/ src/ Kernel/ SyslogTest.php - Tests severity level logging.
- SyslogTest::testSyslogWriting in core/
modules/ syslog/ tests/ src/ Kernel/ SyslogTest.php - @covers ::log
- system_check_directory in core/
modules/ system/ system.module - Checks the existence of the directory specified in $form_element.
- system_requirements in core/
modules/ system/ system.install - Implements hook_requirements().
- system_retrieve_file in core/
modules/ system/ system.module - Attempts to get a file using Guzzle HTTP client and to store it locally.
- Tasks::connect in core/
modules/ sqlite/ src/ Driver/ Database/ sqlite/ Install/ Tasks.php - Checks if we can connect to the database.
- TaxonomyImageTest::testTaxonomyImageAccess in core/
modules/ taxonomy/ tests/ src/ Functional/ TaxonomyImageTest.php - TemporaryStream::getDirectoryPath in core/
lib/ Drupal/ Core/ StreamWrapper/ TemporaryStream.php - TestFileCreationTrait::getTestFiles in core/
tests/ Drupal/ Tests/ TestFileCreationTrait.php - Gets a list of files that can be used in tests.
- TestFileTransferWithSettingsForm::factory in core/
modules/ update/ tests/ modules/ update_test/ src/ TestFileTransferWithSettingsForm.php - Returns a Drupal\update_test\TestFileTransferWithSettingsForm object.
- TextFieldTest::testRequiredLongTextWithFileUpload in core/
modules/ text/ tests/ src/ Functional/ TextFieldTest.php - Tests required long text with file upload.
- ThemeSettingsForm::create in core/
modules/ system/ src/ Form/ ThemeSettingsForm.php - Instantiates a new instance of this class.
- ThemeSettingsFormTest::testFormSettingsSubmissionHandler in core/
modules/ system/ tests/ src/ FunctionalJavascript/ ThemeSettingsFormTest.php - Tests that submission handler works correctly.
- TwigTransTest::installLanguages in core/
modules/ system/ tests/ src/ Functional/ Theme/ TwigTransTest.php - Helper function: install languages.
- TypedDataTest::testGetAndSet in core/
tests/ Drupal/ KernelTests/ Core/ TypedData/ TypedDataTest.php - Tests the basics around constructing and working with typed data objects.
- UpdateDeleteFileIfStaleTest::testUpdateDeleteFileIfStale in core/
modules/ update/ tests/ src/ Kernel/ UpdateDeleteFileIfStaleTest.php - Tests the deletion of stale files.
- UpdateManagerInstall::submitForm in core/
modules/ update/ src/ Form/ UpdateManagerInstall.php - Form submission handler.
- UpdatePathTestBase::setUp in core/
tests/ Drupal/ FunctionalTests/ Update/ UpdatePathTestBase.php - Overrides BrowserTestBase::setUp() for update testing.
- Updater::findInfoFile in core/
lib/ Drupal/ Core/ Updater/ Updater.php - Determines what the most important (or only) info file is in a directory.
- Updater::getProjectName in core/
lib/ Drupal/ Core/ Updater/ Updater.php - Gets the name of the project directory (basename).
- UpdateReady::submitForm in core/
modules/ update/ src/ Form/ UpdateReady.php - Form submission handler.
- update_clear_update_disk_cache in core/
modules/ update/ update.module - Clears the temporary files and directories based on file age from disk.
- update_delete_file_if_stale in core/
modules/ update/ update.module - Deletes stale files and directories from the update manager disk cache.
- update_manager_archive_extract in core/
modules/ update/ update.manager.inc - Unpacks a downloaded archive file.
- update_manager_file_get in core/
modules/ update/ update.manager.inc - Copies a file from the specified URL to the temporary directory for updates.
- update_manager_local_transfers_allowed in core/
modules/ update/ update.manager.inc - Determines if file transfers will be performed locally.
- update_verify_update_archive in core/
modules/ update/ update.module - Implements hook_verify_update_archive().
- UserPasswordResetTest::testUserPasswordResetWithAdditionalAjaxForm in core/
modules/ user/ tests/ src/ FunctionalJavascript/ UserPasswordResetTest.php - Tests password reset functionality with an AJAX form.
- UserPictureTest::saveUserPicture in core/
modules/ user/ tests/ src/ Functional/ UserPictureTest.php - Edits the user picture for the test user.
- ValidatorTest::setUp in core/
modules/ file/ tests/ src/ Kernel/ ValidatorTest.php - ValidatorTest::testFileValidateImageResolution in core/
modules/ file/ tests/ src/ Kernel/ ValidatorTest.php - This ensures the resolution of a specific file is within bounds.
- WidgetUploadTest::testWidgetUpload in core/
modules/ media_library/ tests/ src/ FunctionalJavascript/ WidgetUploadTest.php - Tests that uploads in the Media library's widget works as expected.
- WidgetUploadTest::testWidgetUploadAdvancedUi in core/
modules/ media_library/ tests/ src/ FunctionalJavascript/ WidgetUploadTest.php - Tests that uploads in the widget's advanced UI works as expected.
- _locale_rebuild_js in core/
modules/ locale/ locale.module - (Re-)Creates the JavaScript translation file for a language.
- _locale_translation_file_is_remote in core/
modules/ locale/ locale.translation.inc - Determine if a file is a remote file.