function _backup_migrate_get_source_pulldown in Backup and Migrate 8.3
Same name and namespace in other branches
- 8.2 includes/destinations.inc \_backup_migrate_get_source_pulldown()
- 6.3 includes/sources.inc \_backup_migrate_get_source_pulldown()
- 6.2 includes/destinations.inc \_backup_migrate_get_source_pulldown()
- 7.3 includes/sources.inc \_backup_migrate_get_source_pulldown()
- 7.2 includes/destinations.inc \_backup_migrate_get_source_pulldown()
Get pulldown to select existing source options.
3 calls to _backup_migrate_get_source_pulldown()
- backup_migrate_nodesquirrel_schedule_settings_form in includes/
destinations.nodesquirrel.inc - backup_migrate_ui_manual_quick_backup_form in ./
backup_migrate.module - The quick backup form.
- _backup_migrate_get_source_form in includes/
sources.inc - Get the source options as a form element.
File
- includes/
sources.inc, line 130
Code
function _backup_migrate_get_source_pulldown($source_id = NULL) {
$sources = _backup_migrate_get_source_form_item_options();
$form = array(
"#type" => "select",
"#title" => t("Backup Source"),
"#options" => _backup_migrate_get_source_form_item_options(),
"#default_value" => $source_id,
);
return $form;
}