function FileRepository::__construct
Same name and namespace in other branches
- 10 core/modules/file/src/FileRepository.php \Drupal\file\FileRepository::__construct()
- 11.x core/modules/file/src/FileRepository.php \Drupal\file\FileRepository::__construct()
- 9 core/modules/file/src/FileRepository.php \Drupal\file\FileRepository::__construct()
File
-
core/
modules/ file/ src/ FileRepository.php, line 20
Class
- FileRepository
- Provides a file entity repository.
Namespace
Drupal\fileCode
public function __construct(protected FileSystemInterface $fileSystem, protected StreamWrapperManagerInterface $streamWrapperManager, protected EntityTypeManagerInterface $entityTypeManager, protected ModuleHandlerInterface $moduleHandler, protected FileUsageInterface $fileUsage, protected AccountInterface $currentUser) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.