protected static ManagedFile::fileUsage()
Wraps the file usage service.
Return value
\Drupal\file\FileUsage\FileUsageInterface
File
- core/modules/file/src/Element/ManagedFile.php, line 440
Class
- ManagedFile
- Provides an AJAX/progress aware widget for uploading and saving a file.
Namespace
Drupal\file\Element
Code
protected static function fileUsage() { return \Drupal::service('file.usage'); }
Please login to continue.