You are here

protected static function EmbeddedImagesCollectorTest::fileUsage in Dependency Calculation 8

Wraps the file usage service.

Return value

\Drupal\file\FileUsage\FileUsageInterface File usage service.

File

tests/src/Kernel/EventSubscriber/DependencyCollector/EmbeddedImagesCollectorTest.php, line 202

Class

EmbeddedImagesCollectorTest
Class EmbeddedImagesCollectorTest.

Namespace

Drupal\Tests\depcalc\Kernel\EventSubscriber\DependencyCollector

Code

protected static function fileUsage() {
  return \Drupal::service('file.usage');
}