function backup_migrate_crud_import_form in Backup and Migrate 8.3
Same name and namespace in other branches
- 6.3 includes/crud.inc \backup_migrate_crud_import_form()
- 7.3 includes/crud.inc \backup_migrate_crud_import_form()
Ask confirmation for deletion of a item.
1 string reference to 'backup_migrate_crud_import_form'
- backup_migrate_crud_ui_import in includes/
crud.inc - Page callback to import an item.
File
- includes/
crud.inc, line 311 - CRUD functions for backup and migrate types (schedules, profiles etc.).
Code
function backup_migrate_crud_import_form($form, &$form_state) {
$form['code'] = array(
'#type' => 'textarea',
'#title' => t('Paste Exported Code Here'),
'#required' => TRUE,
);
$form['submit'] = array(
'#type' => 'submit',
'#value' => t('Import'),
);
return $form;
}