You are here

public function backup_migrate_destination_filesource::backup_settings_default in Backup and Migrate 7.3

Same name and namespace in other branches
  1. 8.3 includes/sources.filesource.inc \backup_migrate_destination_filesource::backup_settings_default()
  2. 6.3 includes/sources.filesource.inc \backup_migrate_destination_filesource::backup_settings_default()

Gets the form for the settings for this destination.

Return the default directories whose data can be ignored. These directories contain info which can be easily reproducted. Also exclude the backup and migrate folder to prevent exponential bloat.

Overrides backup_migrate_location::backup_settings_default

1 call to backup_migrate_destination_filesource::backup_settings_default()
backup_migrate_files_destination_archivesource::backup_settings_default in includes/sources.archivesource.inc
Gets the form for the settings for this destination.
1 method overrides backup_migrate_destination_filesource::backup_settings_default()
backup_migrate_files_destination_archivesource::backup_settings_default in includes/sources.archivesource.inc
Gets the form for the settings for this destination.

File

includes/sources.filesource.inc, line 81
A destination type for saving locally to the server.

Class

backup_migrate_destination_filesource
A destination type for saving locally to the server.

Code

public function backup_settings_default() {
  return array(
    'exclude_filepaths' => "backup_migrate\nstyles\ncss\njs\nctools\nless\nlanguages\nadvagg_css\nadvagg_js",
  );
}