function backup_migrate_ui_export_form in Backup and Migrate 7.3
Same name and namespace in other branches
- 8.2 backup_migrate.module \backup_migrate_ui_export_form()
- 8.3 backup_migrate.module \backup_migrate_ui_export_form()
- 6.3 backup_migrate.module \backup_migrate_ui_export_form()
- 6.2 backup_migrate.module \backup_migrate_ui_export_form()
- 7.2 backup_migrate.module \backup_migrate_ui_export_form()
Convert an item to an 'exportable'.
File
- ./
backup_migrate.module, line 1441 - Backup and restore databases for Drupal.
Code
function backup_migrate_ui_export_form($form, &$form_state, $item) {
if ($item && function_exists('ctools_var_export')) {
$code = ctools_var_export($item);
$form = ctools_export_form($form, $form_state, $code);
return $form;
}
return array();
}