You are here

public function BackupFile::setMetaMultiple in Backup and Migrate 8.4

Set a metadata value.

Parameters

array $values An array of key-value pairs for the file metadata.:

Overrides BackupFileInterface::setMetaMultiple

File

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

Class

BackupFile
Class BackupFile.

Namespace

BackupMigrate\Core\File

Code

public function setMetaMultiple($values) {
  foreach ((array) $values as $key => $value) {
    $this
      ->setMeta($key, $value);
  }
}