1 backup.file.inc public BackupFile::putContents($data)

Write the entire contents of the file.

File

core/includes/backup/backup.file.inc, line 158
Contains the BackupFile class.

Class

BackupFile
Provides a utility object for reading and writing local backup files.

Code

public function putContents($data) {
  file_put_contents($this->filePath(), $data);
}