FileUploadForm::$fileUsage

Same name in other branches
  1. 9 core/modules/media_library/src/Form/FileUploadForm.php \Drupal\media_library\Form\FileUploadForm::fileUsage
  2. 8.9.x core/modules/media_library/src/Form/FileUploadForm.php \Drupal\media_library\Form\FileUploadForm::fileUsage
  3. 11.x core/modules/media_library/src/Form/FileUploadForm.php \Drupal\media_library\Form\FileUploadForm::fileUsage

The file usage service.

Type: \Drupal\file\FileUsage\FileUsageInterface

File

core/modules/media_library/src/Form/FileUploadForm.php, line 61

Class

FileUploadForm
Creates a form to create media entities from uploaded files.

Namespace

Drupal\media_library\Form

Code

protected $fileUsage;

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