function TestFileUsage::listUsage

Same name in other branches
  1. 8.9.x core/modules/file/tests/src/Unit/LegacyFileTest.php \Drupal\Tests\file\Unit\TestFileUsage::listUsage()
  2. 8.9.x core/modules/system/tests/modules/service_provider_test/src/TestFileUsage.php \Drupal\service_provider_test\TestFileUsage::listUsage()
  3. 10 core/modules/system/tests/modules/service_provider_test/src/TestFileUsage.php \Drupal\service_provider_test\TestFileUsage::listUsage()
  4. 11.x core/modules/system/tests/modules/service_provider_test/src/TestFileUsage.php \Drupal\service_provider_test\TestFileUsage::listUsage()

Overrides FileUsageInterface::listUsage

File

core/modules/system/tests/modules/service_provider_test/src/TestFileUsage.php, line 25

Class

TestFileUsage

Namespace

Drupal\service_provider_test

Code

public function listUsage(FileInterface $file) {
    return [];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.