You are here

public function FileMetadataPluginInterface::saveMetadataToCache in File metadata manager 8.2

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

Caches metadata for file at URI.

Uses the 'file_mdm' cache bin.

Parameters

array $tags: (optional) An array of cache tags to save to cache.

Return value

bool TRUE if metadata was saved successfully, FALSE otherwise.

1 method overrides FileMetadataPluginInterface::saveMetadataToCache()
FileMetadataPluginBase::saveMetadataToCache in src/Plugin/FileMetadata/FileMetadataPluginBase.php
Caches metadata for file at URI.

File

src/Plugin/FileMetadataPluginInterface.php, line 199

Class

FileMetadataPluginInterface
Provides an interface defining a FileMetadata plugin.

Namespace

Drupal\file_mdm\Plugin

Code

public function saveMetadataToCache(array $tags = []);