You are here

public function FileMetadataPluginBase::getLocalTempPath in File metadata manager 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/FileMetadata/FileMetadataPluginBase.php \Drupal\file_mdm\Plugin\FileMetadata\FileMetadataPluginBase::getLocalTempPath()

Gets 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.

Return value

string The local filesystem path to the file.

Overrides FileMetadataPluginInterface::getLocalTempPath

5 calls to FileMetadataPluginBase::getLocalTempPath()
Exif::doSaveMetadataToFile in file_mdm_exif/src/Plugin/FileMetadata/Exif.php
Saves metadata to file at URI.
Exif::getFile in file_mdm_exif/src/Plugin/FileMetadata/Exif.php
Returns the PEL file object for the image file.
FileMetadataPluginBase::loadMetadataFromFile in src/Plugin/FileMetadata/FileMetadataPluginBase.php
Loads file metadata from the file at URI/local path.
Font::doGetMetadataFromFile in file_mdm_font/src/Plugin/FileMetadata/Font.php
Gets file metadata from the file at URI/local path.
GetImageSize::doGetMetadataFromFile in src/Plugin/FileMetadata/GetImageSize.php
Gets file metadata from the file at URI/local path.

File

src/Plugin/FileMetadata/FileMetadataPluginBase.php, line 231

Class

FileMetadataPluginBase
Abstract implementation of a base File Metadata plugin.

Namespace

Drupal\file_mdm\Plugin\FileMetadata

Code

public function getLocalTempPath() {
  return $this->localTempPath;
}