file.usage
Same name in other branches
- 9 core/modules/file/file.services.yml \file.usage
- 10 core/modules/file/file.services.yml \file.usage
- 11.x core/modules/file/file.services.yml \file.usage
Class
Drupal\file\FileUsage\DatabaseFileUsageBackendTags
- backend_overridable
12 string references to file.usage
- 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.
- 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.
- FileUploadForm::create in core/
modules/ media_library/ src/ Form/ FileUploadForm.php - Instantiates a new instance of this class.
File
-
core/
modules/ file/ file.services.yml
View source
- class: Drupal\file\FileUsage\DatabaseFileUsageBackend
- arguments:
- - '@config.factory'
- - '@database'
- - file_usage
- tags:
- - { name: backend_overridable }
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.