service file.usage in Drupal 10
Same name and namespace in other branches
- 8 core/modules/file/file.services.yml \file.usage
- 9 core/modules/file/file.services.yml \file.usage
Class
Drupal\file\FileUsage\DatabaseFileUsageBackendTags
- backend_overridable
32 string references to file.usage
- 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.
File
- core/
modules/ file/ file.services.yml - core/modules/file/file.services.yml
View source
- class: Drupal\file\FileUsage\DatabaseFileUsageBackend
- arguments:
- - '@config.factory'
- - '@database'
- - file_usage
- tags:
- - { name: backend_overridable }