32 string references to file.usage in Drupal 10
- CopyTest::testEntityStorageException in core/
modules/ file/ tests/ src/ Kernel/ CopyTest.php - Tests for entity storage exception.
- DeleteTest::testInUse in core/
modules/ file/ tests/ src/ Kernel/ DeleteTest.php - Tries deleting a file that is in use.
- EditorFileUsageTest::testEditorEntityHooks in core/
modules/ editor/ tests/ src/ Kernel/ EditorFileUsageTest.php - Tests the configurable text editor manager.
- editor_file_download in core/
modules/ editor/ editor.module - Implements hook_file_download().
- File::preDelete in core/
modules/ file/ src/ Entity/ File.php - Acts on entities before they are deleted and before hooks are invoked.
- FileFieldItemList::delete in core/
modules/ file/ src/ Plugin/ Field/ FieldType/ FileFieldItemList.php - Defines custom delete behavior for field values.
- FileFieldItemList::deleteRevision in core/
modules/ file/ src/ Plugin/ Field/ FieldType/ FileFieldItemList.php - Defines custom revision delete behavior for field values.
- FileFieldItemList::postSave in core/
modules/ file/ src/ Plugin/ Field/ FieldType/ FileFieldItemList.php - Defines custom post-save behavior for field values.
- FileListingTest::testFileListingPages in core/
modules/ file/ tests/ src/ Functional/ FileListingTest.php - Tests file overview with different user permissions.
- FileManagedFileElementTest::testUnusedPermanentFileValidation in core/
modules/ file/ tests/ src/ Functional/ FileManagedFileElementTest.php - Verify that unused permanent files can be used.
- FilePrivateTest::testPrivateFile in core/
modules/ file/ tests/ src/ Functional/ FilePrivateTest.php - Tests file access for file uploaded to a private node.
- FileRepositoryTest::testEntityStorageException in core/
modules/ file/ tests/ src/ Kernel/ FileRepositoryTest.php - Tests for entity storage exception.
- FileUploadForm::create in core/
modules/ media_library/ src/ Form/ FileUploadForm.php - FileUsageBase::delete in core/
modules/ file/ src/ FileUsage/ FileUsageBase.php - Removes a record to indicate that a module is no longer using a file.
- file_cron in core/
modules/ file/ file.module - Implements hook_cron().
- file_file_download in core/
modules/ file/ file.module - Implements hook_file_download().
- file_get_file_references in core/
modules/ file/ file.module - Retrieves a list of references to a file.
- image_field_config_delete in core/
modules/ image/ image.module - Implements hook_ENTITY_TYPE_delete() for 'field_config'.
- image_field_config_update in core/
modules/ image/ image.module - Implements hook_ENTITY_TYPE_update() for 'field_config'.
- image_field_storage_config_delete in core/
modules/ image/ image.module - Implements hook_ENTITY_TYPE_delete() for 'field_storage_config'.
- image_field_storage_config_update in core/
modules/ image/ image.module - Implements hook_ENTITY_TYPE_update() for 'field_storage_config'.
- ManagedFile::fileUsage in core/
modules/ file/ src/ Element/ ManagedFile.php - Wraps the file usage service.
- MoveTest::testEntityStorageException in core/
modules/ file/ tests/ src/ Kernel/ MoveTest.php - Tests for entity storage exception.
- NumericFormatPluralTest::testNumericFormatPlural in core/
modules/ views/ tests/ src/ Functional/ Plugin/ NumericFormatPluralTest.php - Tests plural formatting setting on a numeric views handler.
- ServiceProviderTest::testServiceProviderRegistration in core/
tests/ Drupal/ KernelTests/ Core/ ServiceProvider/ ServiceProviderTest.php - Tests that services provided by module service providers get registered to the DIC.
- ServiceProviderTestServiceProvider::alter in core/
modules/ system/ tests/ modules/ service_provider_test/ src/ ServiceProviderTestServiceProvider.php - Modifies existing service definitions.
- UsageTest::doTestRemoveUsage in core/
modules/ file/ tests/ src/ Kernel/ UsageTest.php - Tests \Drupal\file\FileUsage\DatabaseFileUsageBackend::delete().
- UsageTest::testAddUsage in core/
modules/ file/ tests/ src/ Kernel/ UsageTest.php - Tests \Drupal\file\FileUsage\DatabaseFileUsageBackend::add().
- UsageTest::testFileUsageWithEntityTranslation in core/
modules/ file/ tests/ src/ Kernel/ UsageTest.php - Tests file usage with translated entities.
- UsageTest::testGetUsage in core/
modules/ file/ tests/ src/ Kernel/ UsageTest.php - Tests \Drupal\file\FileUsage\DatabaseFileUsageBackend::listUsage().
- _editor_delete_file_usage in core/
modules/ editor/ editor.module - Deletes file usage of files referenced by formatted text fields.
- _editor_record_file_usage in core/
modules/ editor/ editor.module - Records file usage of files referenced by formatted text fields.