function TestFileUsage::add

Overrides FileUsageBase::add

File

core/modules/file/tests/src/Unit/LegacyFileTest.php, line 92

Class

TestFileUsage
Provides a pass through to the abstract FileUsageBase() constructor.

Namespace

Drupal\Tests\file\Unit

Code

public function add(FileInterface $file, $module, $type, $id, $count = 1) {
}

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