public function FileMetadataPluginBase::setLocalTempPath in File metadata manager 8
Same name and namespace in other branches
- 8.2 src/Plugin/FileMetadata/FileMetadataPluginBase.php \Drupal\file_mdm\Plugin\FileMetadata\FileMetadataPluginBase::setLocalTempPath()
Sets the local filesystem path to the file.
This is used to allow accessing local copies of files stored remotely, to minimise remote calls and allow functions that cannot access remote stream wrappers to operate locally.
Parameters
string $temp_path: A filesystem path.
Return value
$this
Overrides FileMetadataPluginInterface::setLocalTempPath
File
- src/
Plugin/ FileMetadata/ FileMetadataPluginBase.php, line 223
Class
- FileMetadataPluginBase
- Abstract implementation of a base File Metadata plugin.
Namespace
Drupal\file_mdm\Plugin\FileMetadataCode
public function setLocalTempPath($temp_path) {
$this->localTempPath = $temp_path;
return $this;
}