You are here

function backup_migrate_crud_export_form in Backup and Migrate 6.3

Same name and namespace in other branches
  1. 8.2 includes/crud.inc \backup_migrate_crud_export_form()
  2. 8.3 includes/crud.inc \backup_migrate_crud_export_form()
  3. 6.2 includes/crud.inc \backup_migrate_crud_export_form()
  4. 7.3 includes/crud.inc \backup_migrate_crud_export_form()
  5. 7.2 includes/crud.inc \backup_migrate_crud_export_form()

Ask confirmation for deletion of a destination.

1 string reference to 'backup_migrate_crud_export_form'
backup_migrate_crud_ui_export in includes/crud.inc
Export an item.

File

includes/crud.inc, line 289
CRUD functions for backup and migrate types (schedules, profiles etc.).

Code

function backup_migrate_crud_export_form(&$form_state, $export) {
  $form['export'] = array(
    '#title' => t('Exported content'),
    '#type' => 'textarea',
    '#rows' => min(30, count(explode("\n", $export))),
    '#value' => $export,
  );
  return $form;
}