protected function DirectoryDestination::_idToPath in Backup and Migrate 8.4
Return a file path for the given file id.
Parameters
$id:
Return value
string
4 calls to DirectoryDestination::_idToPath()
- DirectoryDestination::fileExists in lib/
backup_migrate_core/ src/ Destination/ DirectoryDestination.php - Does the file with the given id (filename) exist in this destination.
- DirectoryDestination::loadFileForReading in lib/
backup_migrate_core/ src/ Destination/ DirectoryDestination.php - Load the file with the given ID from the destination.
- DirectoryDestination::_saveFile in lib/
backup_migrate_core/ src/ Destination/ DirectoryDestination.php - Do the actual file save. This function is called to save the data file AND the metadata sidecar file.
- DrupalDirectoryDestination::_saveFile in src/
Destination/ DrupalDirectoryDestination.php - Do the actual file save. This function is called to save the data file AND the metadata sidecar file.
File
- lib/
backup_migrate_core/ src/ Destination/ DirectoryDestination.php, line 231
Class
- DirectoryDestination
- Class ServerDirectoryDestination.
Namespace
BackupMigrate\Core\DestinationCode
protected function _idToPath($id) {
return rtrim($this
->confGet('directory'), '/') . '/' . $id;
}