function backup_migrate_ui_destination_display_files in Backup and Migrate 7.3
Same name and namespace in other branches
- 8.2 includes/destinations.inc \backup_migrate_ui_destination_display_files()
- 8.3 includes/destinations.inc \backup_migrate_ui_destination_display_files()
- 5.2 includes/destinations.inc \backup_migrate_ui_destination_display_files()
- 6.3 includes/destinations.inc \backup_migrate_ui_destination_display_files()
- 6.2 includes/destinations.inc \backup_migrate_ui_destination_display_files()
- 7.2 includes/destinations.inc \backup_migrate_ui_destination_display_files()
List the backup files in the given destination.
1 string reference to 'backup_migrate_ui_destination_display_files'
- backup_migrate_destination::get_menu_items in includes/
destinations.inc - Add the menu items specific to the destination type.
File
- includes/
destinations.inc, line 269
Code
function backup_migrate_ui_destination_display_files($destination_id = NULL) {
drupal_add_css(drupal_get_path('module', 'backup_migrate') . '/backup_migrate.css');
$rows = $sort = array();
if ($destination = backup_migrate_get_destination($destination_id)) {
drupal_set_title(t('@title Files', array(
'@title' => $destination
->get_name(),
)));
return _backup_migrate_ui_destination_display_files($destination, 20, TRUE);
}
drupal_goto(BACKUP_MIGRATE_MENU_PATH . "/destination");
}