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\UnitCode
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.