55 string references to 'system.file' in Drupal 10
- DeleteTest::testCronDeleteNonExistingTemporary in core/
modules/ file/ tests/ src/ Kernel/ DeleteTest.php - Tries to run cron deletion on file deleted from the file-system.
- DeleteTest::testInUse in core/
modules/ file/ tests/ src/ Kernel/ DeleteTest.php - Tries deleting a file that is in use.
- drupal6.php in core/
modules/ migrate_drupal/ tests/ fixtures/ drupal6.php - A database agnostic dump for testing purposes.
- editor_image_upload_settings_form in core/
modules/ editor/ editor.admin.inc - Subform constructor to configure the text editor's image upload settings.
- FileFieldRevisionTest::testRevisions in core/
modules/ file/ tests/ src/ Functional/ FileFieldRevisionTest.php - Tests creating multiple revisions of a node and managing attached files.
- FileFieldWidgetTest::testFileExtensionsSetting in core/
modules/ file/ tests/ src/ Functional/ FileFieldWidgetTest.php - Tests configuring file field's allowed file extensions setting.
- FileItem::defaultStorageSettings in core/
modules/ file/ src/ Plugin/ Field/ FieldType/ FileItem.php - Defines the storage-level settings for this plugin.
- FileItem::validateExtensions in core/
modules/ file/ src/ Plugin/ Field/ FieldType/ FileItem.php - Form API callback.
- FileSystemForm::buildForm in core/
modules/ system/ src/ Form/ FileSystemForm.php - Form constructor.
- FileSystemForm::getEditableConfigNames in core/
modules/ system/ src/ Form/ FileSystemForm.php - Gets the configuration names that will be editable.
- FileSystemForm::submitForm in core/
modules/ system/ src/ Form/ FileSystemForm.php - Form submission handler.
- FileTestBase::setUp in core/
tests/ Drupal/ KernelTests/ Core/ File/ FileTestBase.php - FileUploadResource::create in core/
modules/ file/ src/ Plugin/ rest/ resource/ FileUploadResource.php - Creates an instance of the plugin.
- FileUploadResourceTestBase::testFileUploadMaliciousExtension in core/
modules/ rest/ tests/ src/ Functional/ FileUploadResourceTestBase.php - Tests using the file upload POST route with malicious extensions.
- FileUploadTest::testFileUploadMaliciousExtension in core/
modules/ jsonapi/ tests/ src/ Functional/ FileUploadTest.php - Tests using the file upload POST route with malicious extensions.
- file_cron in core/
modules/ file/ file.module - Implements hook_cron().
- file_validate in core/
modules/ file/ file.module - Checks that a file meets the criteria specified by the validators.
- ImageStyle::buildUrl in core/
modules/ image/ src/ Entity/ ImageStyle.php - Returns the URL of this image derivative for an original image path or URI.
- ImageStyle::fileDefaultScheme in core/
modules/ image/ src/ Entity/ ImageStyle.php - Provides a wrapper to allow unit testing.
- 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_install in core/
modules/ image/ image.install - Implements hook_install().
- image_uninstall in core/
modules/ image/ image.install - Implements hook_uninstall().
- KernelTestBase::bootKernel in core/
tests/ Drupal/ KernelTests/ KernelTestBase.php - Bootstraps a kernel for a test.
- KernelTestBaseTest::testBootKernel in core/
tests/ Drupal/ KernelTests/ KernelTestBaseTest.php - @covers ::bootKernel
- MigrateSystemConfigurationTest.php in core/
modules/ system/ tests/ src/ Kernel/ Migrate/ d6/ MigrateSystemConfigurationTest.php - MigrateSystemConfigurationTest.php in core/
modules/ system/ tests/ src/ Kernel/ Migrate/ d7/ MigrateSystemConfigurationTest.php - RemoteFileDeleteRecursiveTest::setUp in core/
tests/ Drupal/ KernelTests/ Core/ File/ RemoteFileDeleteRecursiveTest.php - RemoteFileDeleteTest::setUp in core/
tests/ Drupal/ KernelTests/ Core/ File/ RemoteFileDeleteTest.php - RemoteFileDirectoryTest::setUp in core/
tests/ Drupal/ KernelTests/ Core/ File/ RemoteFileDirectoryTest.php - RemoteFileMoveTest::setUp in core/
tests/ Drupal/ KernelTests/ Core/ File/ RemoteFileMoveTest.php - RemoteFileSaveDataTest::setUp in core/
tests/ Drupal/ KernelTests/ Core/ File/ RemoteFileSaveDataTest.php - RemoteFileSaveUploadTest::setUp in core/
modules/ file/ tests/ src/ Functional/ RemoteFileSaveUploadTest.php - RemoteFileScanDirectoryTest::setUp in core/
tests/ Drupal/ KernelTests/ Core/ File/ RemoteFileScanDirectoryTest.php - RemoteFileUnmanagedCopyTest::setUp in core/
tests/ Drupal/ KernelTests/ Core/ File/ RemoteFileUnmanagedCopyTest.php - SaveUploadFormTest::testHandleDangerousFile in core/
modules/ file/ tests/ src/ Functional/ SaveUploadFormTest.php - Tests dangerous file handling.
- SaveUploadFormTest::testHandleFileMunge in core/
modules/ file/ tests/ src/ Functional/ SaveUploadFormTest.php - Tests file munge handling.
- 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::testHandleFileMunge in core/
modules/ file/ tests/ src/ Functional/ SaveUploadTest.php - Tests file munge handling.
- SecurityFileUploadEventSubscriber::__construct in core/
modules/ system/ src/ EventSubscriber/ SecurityFileUploadEventSubscriber.php - Constructs a new file event listener.
- SecurityFileUploadEventSubscriberTest::testSanitizeName in core/
modules/ system/ tests/ src/ Unit/ Event/ SecurityFileUploadEventSubscriberTest.php - Tests file name sanitization.
- SecurityFileUploadEventSubscriberTest::testSanitizeNameNoMunge in core/
modules/ system/ tests/ src/ Unit/ Event/ SecurityFileUploadEventSubscriberTest.php - Tests file name sanitization without file munging.
- StreamWrapperTest::testUriFunctions in core/
tests/ Drupal/ KernelTests/ Core/ File/ StreamWrapperTest.php - Tests the getViaUri() and getViaScheme() methods and target functions.
- 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.
- TemporaryJsonapiFileFieldUploader::__construct in core/
modules/ jsonapi/ src/ Controller/ TemporaryJsonapiFileFieldUploader.php - Constructs a FileUploadResource instance.
- ThemeSettingsForm::submitForm in core/
modules/ system/ src/ Form/ ThemeSettingsForm.php - Form submission handler.
- UpdateDeleteFileIfStaleTest::testUpdateDeleteFileIfStale in core/
modules/ update/ tests/ src/ Kernel/ UpdateDeleteFileIfStaleTest.php - Tests the deletion of stale files.
- update_delete_file_if_stale in core/
modules/ update/ update.module - Deletes stale files and directories from the update manager disk cache.
- UsageTest::createTempFiles in core/
modules/ file/ tests/ src/ Kernel/ UsageTest.php - Create files for all the possible combinations of age and status.
- UsageTest::testTempFileCustomCleanup in core/
modules/ file/ tests/ src/ Kernel/ UsageTest.php - Ensure that temporary files are kept as configured.
- UsageTest::testTempFileNoCleanup in core/
modules/ file/ tests/ src/ Kernel/ UsageTest.php - Ensure that temporary files are kept as configured.
- UserPictureTest::testCreateDeletePicture in core/
modules/ user/ tests/ src/ Functional/ UserPictureTest.php - Tests creation, display, and deletion of user pictures.
- ValidateTest::testInsecureExtensions in core/
modules/ file/ tests/ src/ Kernel/ ValidateTest.php - Tests hard-coded security check in file_validate().