You are here

service file.usage in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/file/file.services.yml \file.usage

Class

Drupal\file\FileUsage\DatabaseFileUsageBackend

Tags

  • backend_overridable
8 string references to file.usage
DeleteTest::testInUse in core/modules/file/src/Tests/DeleteTest.php
Tries deleting a file that is in use.
EditorFileUsageTest::testEditorEntityHooks in core/modules/editor/src/Tests/EditorFileUsageTest.php
Tests the configurable text editor manager.
FileListingTest::testFileListingPages in core/modules/file/src/Tests/FileListingTest.php
Tests file overview with different user permissions.
ManagedFile::fileUsage in core/modules/file/src/Element/ManagedFile.php
Wraps the file usage service.
ServiceProviderTest::testServiceProviderRegistration in core/modules/system/src/Tests/ServiceProvider/ServiceProviderTest.php
Tests that services provided by module service providers get registered to the DIC.

... See full list

File

core/modules/file/file.services.yml
core/modules/file/file.services.yml

View source
  1. class: Drupal\file\FileUsage\DatabaseFileUsageBackend
  2. arguments:
  3. - '@database'
  4. tags:
  5. - { name: backend_overridable }