class TestFileUsage in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/system/tests/modules/service_provider_test/src/TestFileUsage.php \Drupal\service_provider_test\TestFileUsage
Hierarchy
- class \Drupal\file\FileUsage\FileUsageBase implements FileUsageInterface
- class \Drupal\service_provider_test\TestFileUsage
Expanded class hierarchy of TestFileUsage
File
- core/
modules/ system/ tests/ modules/ service_provider_test/ src/ TestFileUsage.php, line 13 - Contains \Drupal\service_provider_test\TestFileUsage.
Namespace
Drupal\service_provider_testView source
class TestFileUsage extends FileUsageBase {
/**
* {@inheritdoc}
*/
public function add(FileInterface $file, $module, $type, $id, $count = 1) {
}
/**
* {@inheritdoc}
*/
public function delete(FileInterface $file, $module, $type = NULL, $id = NULL, $count = 1) {
}
/**
* {@inheritdoc}
*/
public function listUsage(FileInterface $file) {
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
TestFileUsage:: |
public | function |
Records that a module is using a file. Overrides FileUsageBase:: |
|
TestFileUsage:: |
public | function |
Removes a record to indicate that a module is no longer using a file. Overrides FileUsageBase:: |
|
TestFileUsage:: |
public | function |
Determines where a file is used. Overrides FileUsageInterface:: |