public function backup_migrate_destination::file_cache_set in Backup and Migrate 7.3
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.2 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.
File
- includes/
destinations.inc, line 974
Class
- backup_migrate_destination
- A base class for creating destinations.
Code
public function file_cache_set($files) {
cache_set('backup_migrate_file_list:' . $this
->get_id(), $files, 'cache', time() + $this->cache_expire);
}