You are here

function backup_migrate_destination::file_cache_set in Backup and Migrate 8.2

Same name and namespace in other branches
  1. 8.3 includes/ \backup_migrate_destination::file_cache_set()
  2. 6.3 includes/ \backup_migrate_destination::file_cache_set()
  3. 6.2 includes/ \backup_migrate_destination::file_cache_set()
  4. 7.3 includes/ \backup_migrate_destination::file_cache_set()
  5. 7.2 includes/ \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/
Retrieve the file list.
backup_migrate_destination::list_files in includes/
List all the available files in the given destination with their destination specific id.


includes/, line 687


A base class for creating destinations.


function file_cache_set($files) {
  cache_set('backup_migrate_file_list:' . $this
    ->get_id(), $files, 'cache', time() + $this->cache_expire);