You are here

public function FileMetadataPluginInterface::loadMetadata in File metadata manager 8

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

Loads file metadata from an in-memory object/array.

Parameters

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 FileMetadataPluginInterface::loadMetadata()
FileMetadataPluginBase::loadMetadata in src/Plugin/FileMetadata/FileMetadataPluginBase.php
Loads file metadata from an in-memory object/array.

File

src/Plugin/FileMetadataPluginInterface.php, line 111

Class

FileMetadataPluginInterface
Provides an interface defining a FileMetadata plugin.

Namespace

Drupal\file_mdm\Plugin

Code

public function loadMetadata($metadata);