You are here

TestFileUsage.php in Zircon Profile 8.0

File

core/modules/system/tests/modules/service_provider_test/src/TestFileUsage.php
View source
<?php

/**
 * @file
 * Contains \Drupal\service_provider_test\TestFileUsage.
 */
namespace Drupal\service_provider_test;

use Drupal\file\FileInterface;
use Drupal\file\FileUsage\FileUsageBase;
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) {
  }

}

Classes

Namesort descending Description
TestFileUsage