FileProcessorInterface.php in Backup and Migrate 5.0.x
Namespace
Drupal\backup_migrate\Core\PluginFile
src/Core/Plugin/FileProcessorInterface.phpView source
<?php
namespace Drupal\backup_migrate\Core\Plugin;
use Drupal\backup_migrate\Core\File\TempFileManagerInterface;
/**
* For plugins which process files and must have access to a temp file factory.
*
* @package Drupal\backup_migrate\Core\Plugin
*/
interface FileProcessorInterface {
/**
* Inject the temp file manager.
*
* @param \Drupal\backup_migrate\Core\File\TempFileManagerInterface $tempfilemanager
*
* @return mixed
*/
public function setTempFileManager(TempFileManagerInterface $tempfilemanager);
/**
* Get the temp file manager.
*
* @return \Drupal\backup_migrate\Core\File\TempFileManagerInterface
*/
public function getTempFileManager();
}
Interfaces
Name | Description |
---|---|
FileProcessorInterface | For plugins which process files and must have access to a temp file factory. |