function backup_migrate_destination::file_cache_set in Backup and Migrate 7.2
Same name and namespace in other branches
- 8.2 includes/destinations.inc \backup_migrate_destination::file_cache_set()
- 8.3 includes/destinations.inc \backup_migrate_destination::file_cache_set()
- 6.3 includes/destinations.inc \backup_migrate_destination::file_cache_set()
- 6.2 includes/destinations.inc \backup_migrate_destination::file_cache_set()
- 7.3 includes/destinations.inc \backup_migrate_destination::file_cache_set()
Cache the file list.
2 calls to backup_migrate_destination::file_cache_set()
- backup_migrate_destination::file_cache_clear in includes/
destinations.inc - Retrieve the file list.
- backup_migrate_destination::list_files in includes/
destinations.inc - List all the available files in the given destination with their destination specific id.
File
- includes/
destinations.inc, line 727
Class
- backup_migrate_destination
- A base class for creating destinations.
Code
function file_cache_set($files) {
cache_set('backup_migrate_file_list:' . $this
->get_id(), $files, 'cache', time() + $this->cache_expire);
}