You are here

public function FileMetadataInterface::loadMetadata in File metadata manager 8

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

Loads file metadata.

Parameters

string $metadata_id: The id of the FileMetadata plugin.

mixed $metadata: The file metadata associated to the file at URI.

Return value

bool TRUE if metadata was loaded successfully, FALSE otherwise.

1 method overrides FileMetadataInterface::loadMetadata()
FileMetadata::loadMetadata in src/FileMetadata.php
Loads file metadata.

File

src/FileMetadataInterface.php, line 169

Class

FileMetadataInterface
Provides an interface for file metadata objects.

Namespace

Drupal\file_mdm

Code

public function loadMetadata($metadata_id, $metadata);