121 string references to file_system
- AjaxFileManagedMultipleTest::testMultipleFilesUpload in core/
modules/ file/ tests/ src/ FunctionalJavascript/ AjaxFileManagedMultipleTest.php - Test if managed file form element works well with multiple files upload.
- ArchiverManager::__construct in core/
lib/ Drupal/ Core/ Archiver/ ArchiverManager.php - Constructs a ArchiverManager object.
- AssetDumper::getFileSystem in core/
lib/ Drupal/ Core/ Asset/ AssetDumper.php - Helper method for returning the file system service.
- color_library_info_alter in core/
modules/ color/ color.module - Implements hook_library_info_alter().
- color_scheme_form_submit in core/
modules/ color/ color.module - Form submission handler for color_scheme_form().
- ConfigController::create in core/
modules/ config/ src/ Controller/ ConfigController.php - Instantiates a new instance of this class.
- 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.
- ConfigImportForm::__construct in core/
modules/ config/ src/ Form/ ConfigImportForm.php - Constructs a new ConfigImportForm.
- CssCollectionOptimizer::__construct in core/
lib/ Drupal/ Core/ Asset/ CssCollectionOptimizer.php - Constructs a CssCollectionOptimizer.
- 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 - Test directory handling functions.
- DirectoryTest::testFileCheckLocalDirectoryHandling in core/
tests/ Drupal/ KernelTests/ Core/ File/ DirectoryTest.php - Test 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.
- Download::create in core/
modules/ migrate/ src/ Plugin/ migrate/ process/ Download.php - Creates an instance of the plugin.
- DrupalSelenium2DriverTest::testGetRemoteFilePath in core/
tests/ Drupal/ FunctionalJavascriptTests/ Tests/ DrupalSelenium2DriverTest.php - Tests uploading remote files.
- drupal_get_database_types in core/
includes/ install.inc - Returns all supported database driver installer objects.
- EnvironmentCleanerFactory::createCleaner in core/
modules/ simpletest/ src/ EnvironmentCleanerFactory.php - Factory method to create the environment cleaner service.
- 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.
- FieldImportCreateTest::testImportCreate in core/
modules/ field/ tests/ src/ Kernel/ FieldImportCreateTest.php - Tests creating field storages and fields during config import.
- 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::testOverwriteSelf in core/
tests/ Drupal/ KernelTests/ Core/ File/ FileCopyTest.php - Copy a file onto itself.
- FileFieldWidgetTest::testUploadingMoreFilesThenAllowed in core/
modules/ file/ tests/ src/ FunctionalJavascript/ FileFieldWidgetTest.php - Tests uploading more files then allowed at once.
- FileMigrationSetupTrait::fileMigrationSetup in core/
modules/ file/ tests/ src/ Kernel/ Migrate/ d7/ FileMigrationSetupTrait.php - Prepare the file migration for running.
- 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.
- FilePrivateTest::testPrivateFile in core/
modules/ file/ tests/ src/ Functional/ FilePrivateTest.php - Tests file access for file uploaded to a private node.
- FileSaveDataTest::testFileSaveData in core/
tests/ Drupal/ KernelTests/ Core/ File/ FileSaveDataTest.php - Test the file_unmanaged_save_data() function.
- FileStorage::getFileSystem in core/
lib/ Drupal/ Core/ Config/ FileStorage.php - Returns file system service.
- FileSystemDeprecationTest::setUp in core/
tests/ Drupal/ KernelTests/ Core/ File/ FileSystemDeprecationTest.php - FileSystemForm::create in core/
modules/ system/ src/ Form/ FileSystemForm.php - Instantiates a new instance of this class.
- FileSystemForm::__construct in core/
modules/ system/ src/ Form/ FileSystemForm.php - Constructs a FileSystemForm object.
- FileSystemTest::setUp in core/
tests/ Drupal/ KernelTests/ Core/ File/ FileSystemTest.php - FileTranslation::__construct in core/
lib/ Drupal/ Core/ StringTranslation/ Translator/ FileTranslation.php - Constructs a StaticTranslation object.
- FileUploadForm::create in core/
modules/ media_library/ src/ Form/ FileUploadForm.php - Instantiates a new instance of this class.
- FileUploadResource::create in core/
modules/ file/ src/ Plugin/ rest/ resource/ FileUploadResource.php - Creates an instance of the plugin.
- file_copy in core/
modules/ file/ file.module - Copies a file to a new location and adds a file record to the database.
- file_move in core/
modules/ file/ file.module - Moves a file to a new location and update the file's database entry.
- file_unmanaged_copy in core/
includes/ file.inc - Copies a file to a new location without database changes or hook invocation.
- file_unmanaged_move in core/
includes/ file.inc - Moves a file to a new location without database changes or hook invocation.
- file_unmanaged_prepare in core/
includes/ file.inc - Internal function that prepares the destination for a file_unmanaged_copy or file_unmanaged_move operation.
- GDToolkit::create in core/
modules/ system/ src/ Plugin/ ImageToolkit/ GDToolkit.php - Creates an instance of the plugin.
- GDToolkit::__construct in core/
modules/ system/ src/ Plugin/ ImageToolkit/ GDToolkit.php - Constructs a GDToolkit object.
- Image::create in core/
modules/ media/ src/ Plugin/ media/ Source/ Image.php - Creates an instance of the plugin.
- ImageDimensionsTest::testImageDimensions in core/
modules/ image/ tests/ src/ Functional/ ImageDimensionsTest.php - Test styled image dimensions cumulatively.
- ImageFieldValidateTest::testValid in core/
modules/ image/ tests/ src/ Functional/ ImageFieldValidateTest.php - Test 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.
- 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 - ImageStylesPathAndUrlTest::doImageStyleUrlAndPathTests in core/
modules/ image/ tests/ src/ Functional/ ImageStylesPathAndUrlTest.php - Tests building an image style URL.
- 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 - Instantiates a new instance of this class.
- 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.
- JsCollectionOptimizer::__construct in core/
lib/ Drupal/ Core/ Asset/ JsCollectionOptimizer.php - Constructs a JsCollectionOptimizer.
- 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.
- Local::__construct in core/
lib/ Drupal/ Core/ FileTransfer/ Local.php - Constructs a Drupal\Core\FileTransfer\FileTransfer object.
- LocaleExportTest::testExportTranslation in core/
modules/ locale/ tests/ src/ Functional/ LocaleExportTest.php - Test 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 - LocalePluralFormatTest::importPoFile in core/
modules/ locale/ tests/ src/ Functional/ LocalePluralFormatTest.php - Imports a standalone .po file in a given language.
- 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::mkdir in core/
lib/ Drupal/ Core/ StreamWrapper/ LocalStream.php - Support for mkdir().
- LocalStream::rmdir in core/
lib/ Drupal/ Core/ StreamWrapper/ LocalStream.php - Support for rmdir().
- MaximumFileSizeExceededUploadTest::setUp in core/
modules/ file/ tests/ src/ FunctionalJavascript/ MaximumFileSizeExceededUploadTest.php - media_install in core/
modules/ media/ media.install - Implements hook_install().
- OEmbed::create in core/
modules/ media/ src/ Plugin/ media/ Source/ OEmbed.php - Creates an instance of the plugin.
- OEmbed::__construct in core/
modules/ media/ src/ Plugin/ media/ Source/ OEmbed.php - Constructs a new OEmbed instance.
- PagePreviewTest::testPagePreview in core/
modules/ node/ tests/ src/ Functional/ PagePreviewTest.php - Checks the node preview functionality.
- QuickEditImageController::create in core/
modules/ image/ src/ Controller/ QuickEditImageController.php - Instantiates a new instance of this class.
- QuickEditImageController::__construct in core/
modules/ image/ src/ Controller/ QuickEditImageController.php - Constructs a new QuickEditImageController.
- ReadOnlyStreamWrapperTest::testReadOnlyBehavior in core/
tests/ Drupal/ KernelTests/ Core/ File/ ReadOnlyStreamWrapperTest.php - Test 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::testDrupalMovingUploadedFileError in core/
modules/ file/ tests/ src/ Functional/ SaveUploadTest.php - Tests for log entry on failing destination.
- ScanDirectoryTest::setUp in core/
tests/ Drupal/ KernelTests/ Core/ File/ ScanDirectoryTest.php - SimpletestPhpunitRunCommandTest::setUp in core/
modules/ simpletest/ tests/ src/ Unit/ SimpletestPhpunitRunCommandTest.php - StreamWrapperTest::testUriFunctions in core/
tests/ Drupal/ KernelTests/ Core/ File/ StreamWrapperTest.php - Test the getViaUri() and getViaScheme() methods and target functions.
- system_check_directory in core/
modules/ system/ system.module - Checks the existence of the directory specified in $form_element.
- system_retrieve_file in core/
modules/ system/ system.module - Attempts to get a file using Guzzle HTTP client and to store it locally.
- 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.
- ThemeSettingsForm::create in core/
modules/ system/ src/ Form/ ThemeSettingsForm.php - Instantiates a new instance of this class.
- ThemeSettingsForm::__construct in core/
modules/ system/ src/ Form/ ThemeSettingsForm.php - Constructs a ThemeSettingsForm object.
- TwigTransTest::installLanguages in core/
modules/ system/ tests/ src/ Functional/ Theme/ TwigTransTest.php - Helper function: install languages.
- 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.
- Updater::findInfoFile in core/
lib/ Drupal/ Core/ Updater/ Updater.php - Determines what the most important (or only) info file is in a directory.
- UpdateReady::submitForm in core/
modules/ update/ src/ Form/ UpdateReady.php - Form submission handler.
- 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().
- UrlRewritingTest::testPublicManagedFileURL in core/
tests/ Drupal/ KernelTests/ Core/ File/ UrlRewritingTest.php - Tests the rewriting of public managed file URLs by hook_file_url_alter().
- ValidatorTest::setUp in core/
modules/ file/ tests/ src/ Kernel/ ValidatorTest.php - 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.
- _color_render_images in core/
modules/ color/ color.module - Renders images that match a given palette.
- _file_save_upload_single in core/
modules/ file/ file.module - Saves a file upload to a new location.
- _locale_rebuild_js in core/
modules/ locale/ locale.module - (Re-)Creates the JavaScript translation file for a language.
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.