You are here

public function FileMetadataPluginInterface::setLocalTempPath in File metadata manager 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/FileMetadataPluginInterface.php \Drupal\file_mdm\Plugin\FileMetadataPluginInterface::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

1 method overrides FileMetadataPluginInterface::setLocalTempPath()
FileMetadataPluginBase::setLocalTempPath in src/Plugin/FileMetadata/FileMetadataPluginBase.php
Sets the local filesystem path to the file.

File

src/Plugin/FileMetadataPluginInterface.php, line 55

Class

FileMetadataPluginInterface
Provides an interface defining a FileMetadata plugin.

Namespace

Drupal\file_mdm\Plugin

Code

public function setLocalTempPath($temp_path);