public function BackupFile::getMeta in Backup and Migrate 5.0.x
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
- src/
Core/ File/ BackupFile.php, line 58
Class
- BackupFile
- @package Drupal\backup_migrate\Core\File
Namespace
Drupal\backup_migrate\Core\FileCode
public function getMeta($key) {
return isset($this->metadata[$key]) ? $this->metadata[$key] : NULL;
}