function backup_migrate_ui_export_form in Backup and Migrate 6.2
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()
- 7.3 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 626 - Create (manually or scheduled) and restore backups of your Drupal MySQL database with an option to exclude table data (e.g. cache_*)
Code
function backup_migrate_ui_export_form(&$form_state, $item) {
if ($item && function_exists('ctools_var_export')) {
$code = ctools_var_export($item);
$form = ctools_export_form($form_state, $code);
return $form;
}
return array();
}