You are here

protected function ImagemagickIdentify::getMetadataToCache in ImageMagick 8.3

Same name and namespace in other branches
  1. 8.2 src/Plugin/FileMetadata/ImagemagickIdentify.php \Drupal\imagemagick\Plugin\FileMetadata\ImagemagickIdentify::getMetadataToCache()

File

src/Plugin/FileMetadata/ImagemagickIdentify.php, line 202

Class

ImagemagickIdentify
FileMetadata plugin for ImageMagick's identify results.

Namespace

Drupal\imagemagick\Plugin\FileMetadata

Code

protected function getMetadataToCache() {
  $metadata = $this->metadata;

  // Avoid caching the source_local_path.
  unset($metadata['source_local_path']);
  return $metadata;
}