protected function DirectoryDestination::idToPath in Backup and Migrate 5.0.x
Return a file path for the given file id.
Parameters
$id:
Return value
string
4 calls to DirectoryDestination::idToPath()
- DirectoryDestination::fileExists in src/
Core/ Destination/ DirectoryDestination.php - Does the file with the given id (filename) exist in this destination.
- DirectoryDestination::loadFileForReading in src/
Core/ Destination/ DirectoryDestination.php - Load the file with the given ID from the destination.
- DirectoryDestination::saveTheFile in src/
Core/ Destination/ DirectoryDestination.php - Do the actual file save.
- DrupalDirectoryDestination::saveTheFile in src/
Drupal/ Destination/ DrupalDirectoryDestination.php - Do the actual file save.
File
- src/
Core/ Destination/ DirectoryDestination.php, line 225
Class
- DirectoryDestination
- @package Drupal\backup_migrate\Core\Destination
Namespace
Drupal\backup_migrate\Core\DestinationCode
protected function idToPath($id) {
return rtrim($this
->confGet('directory'), '/') . '/' . $id;
}