You are here

protected function FileMetadataPluginBase::getMetadataToCache in File metadata manager 8.2

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

Gets metadata to save to cache.

Return value

mixed The metadata to be cached.

1 call to FileMetadataPluginBase::getMetadataToCache()
FileMetadataPluginBase::saveMetadataToCache in src/Plugin/FileMetadata/FileMetadataPluginBase.php
Caches metadata for file at URI.

File

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

Class

FileMetadataPluginBase
Abstract implementation of a base File Metadata plugin.

Namespace

Drupal\file_mdm\Plugin\FileMetadata

Code

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