public function BackupFile::setMeta in Backup and Migrate 8.4
Set a metadata value.
Parameters
string $key The key for the metadata item.:
mixed $value The value for the metadata item.:
Overrides BackupFileInterface::setMeta
2 calls to BackupFile::setMeta()
- BackupFile::setMetaMultiple in lib/
backup_migrate_core/ src/ File/ BackupFile.php - Set a metadata value.
- ReadableStreamBackupFile::_loadFileStats in lib/
backup_migrate_core/ src/ File/ ReadableStreamBackupFile.php - Get info about the file and load them as metadata.
File
- lib/
backup_migrate_core/ src/ File/ BackupFile.php, line 67
Class
- BackupFile
- Class BackupFile.
Namespace
BackupMigrate\Core\FileCode
public function setMeta($key, $value) {
$this->metadata[$key] = $value;
}