You are here

function backup_migrate_crud_export_form in Backup and Migrate 7.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.3 includes/crud.inc \backup_migrate_crud_export_form()
  4. 6.2 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 292
CRUD functions for backup and migrate types (schedules, profiles etc.).

Code

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