You are here

public function FileProcessorTrait::setTempFileManager in Backup and Migrate 5.0.x

Inject the temp file manager.

Parameters

\Drupal\backup_migrate\Core\File\TempFileManagerInterface $tempfilemanager:

Return value

mixed

1 call to FileProcessorTrait::setTempFileManager()
MySQLiSource::exportToFile in src/Core/Source/MySQLiSource.php
Export this source to the given temp file.

File

src/Core/Plugin/FileProcessorTrait.php, line 26

Class

FileProcessorTrait
Implement the injection functionality of a file processor.

Namespace

Drupal\backup_migrate\Core\Plugin

Code

public function setTempFileManager(TempFileManagerInterface $tempfilemanager) {
  $this->tempfilemanager = $tempfilemanager;
}