12 string references to file.usage in Drupal 8
- 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.
- FileUploadForm::__construct in core/
modules/ media_library/ src/ Form/ FileUploadForm.php - Constructs a new FileUploadForm.
- ManagedFile::fileUsage in core/
modules/ file/ src/ Element/ ManagedFile.php - Wraps the file usage service.
- 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.