function backup_migrate_filter_backup_restore::sources in Backup and Migrate 6.3
Same name and namespace in other branches
- 8.3 includes/filters.backup_restore.inc \backup_migrate_filter_backup_restore::sources()
- 7.3 includes/filters.backup_restore.inc \backup_migrate_filter_backup_restore::sources()
Get the default sources for this filter.
File
- includes/
filters.backup_restore.inc, line 33 - This filter performs tha actual backup or restore operation. Not technically a filter per-se, but it does need to fit in the call chain.
Class
- backup_migrate_filter_backup_restore
- A filter backup or migrate the specified source.
Code
function sources() {
$out = array();
foreach ($this
->_get_source_types() as $type) {
if (method_exists($type, 'sources')) {
$out += $type
->sources();
}
}
return $out;
}