You are here

public function FileMetadataInterface::loadMetadataFromCache in File metadata manager 8

Same name and namespace in other branches
  1. 8.2 src/FileMetadataInterface.php \Drupal\file_mdm\FileMetadataInterface::loadMetadataFromCache()

Loads file metadata from a cache entry.

Parameters

string $metadata_id: The id of the FileMetadata plugin.

Return value

bool TRUE if metadata was loaded successfully, FALSE otherwise.

1 method overrides FileMetadataInterface::loadMetadataFromCache()
FileMetadata::loadMetadataFromCache in src/FileMetadata.php
Loads file metadata from a cache entry.

File

src/FileMetadataInterface.php, line 180

Class

FileMetadataInterface
Provides an interface for file metadata objects.

Namespace

Drupal\file_mdm

Code

public function loadMetadataFromCache($metadata_id);