public function BackupFile::setMetaMultiple in Backup and Migrate 5.0.x
Set a metadata value.
Parameters
array $values: An array of key-value pairs for the file metadata.
Overrides BackupFileInterface::setMetaMultiple
File
- src/
Core/ File/ BackupFile.php, line 80
Class
- BackupFile
- @package Drupal\backup_migrate\Core\File
Namespace
Drupal\backup_migrate\Core\FileCode
public function setMetaMultiple(array $values) {
foreach ((array) $values as $key => $value) {
$this
->setMeta($key, $value);
}
}