You are here

public function BackupFile::getMeta in Backup and Migrate 8.4

Get a metadata value.

Parameters

string $key The key for the metadata item.:

Return value

mixed The value of the metadata for this file.

Overrides BackupFileInterface::getMeta

File

lib/backup_migrate_core/src/File/BackupFile.php, line 57

Class

BackupFile
Class BackupFile.

Namespace

BackupMigrate\Core\File

Code

public function getMeta($key) {
  return isset($this->metadata[$key]) ? $this->metadata[$key] : NULL;
}