You are here

function backup_migrate_get_destination_types in Backup and Migrate 6.2

Same name and namespace in other branches
  1. 8.2 includes/destinations.inc \backup_migrate_get_destination_types()
  2. 5.2 includes/destinations.inc \backup_migrate_get_destination_types()
  3. 7.2 includes/destinations.inc \backup_migrate_get_destination_types()

Get the available destination types.

4 calls to backup_migrate_get_destination_types()
backup_migrate_destination::create in includes/destinations.inc
Create a new destination of the correct type.
backup_migrate_destination::edit_form in includes/destinations.inc
Get the edit form for the item.
backup_migrate_destination::get_destination_type_name in includes/destinations.inc
Get the type name of this destination for display to the user.
backup_migrate_filter_backup_restore::_get_destination_types in includes/filters.backup_restore.inc
Get a list of dummy destinations representing each of the available destination types.

File

includes/destinations.inc, line 14

Code

function backup_migrate_get_destination_types() {
  $out = array();
  foreach (module_implements('backup_migrate_destination_types') as $module) {
    $fn = $module . '_backup_migrate_destination_types';
    $out += $fn();
  }
  return $out;
}