function TestFileUsage::delete
Same name in this branch
- 8.9.x core/modules/system/tests/modules/service_provider_test/src/TestFileUsage.php \Drupal\service_provider_test\TestFileUsage::delete()
Same name in other branches
- 9 core/modules/system/tests/modules/service_provider_test/src/TestFileUsage.php \Drupal\service_provider_test\TestFileUsage::delete()
- 10 core/modules/system/tests/modules/service_provider_test/src/TestFileUsage.php \Drupal\service_provider_test\TestFileUsage::delete()
- 11.x core/modules/system/tests/modules/service_provider_test/src/TestFileUsage.php \Drupal\service_provider_test\TestFileUsage::delete()
Overrides FileUsageBase::delete
File
-
core/
modules/ file/ tests/ src/ Unit/ LegacyFileTest.php, line 98
Class
- TestFileUsage
- Provides a pass through to the abstract FileUsageBase() constructor.
Namespace
Drupal\Tests\file\UnitCode
public function delete(FileInterface $file, $module, $type = NULL, $id = NULL, $count = 1) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.