function backup_migrate_crud_ui_export

cis7 crud.inc backup_migrate_crud_ui_export($item_id = NULL)
cle7 crud.inc backup_migrate_crud_ui_export($item_id = NULL)
elmsmedia7 crud.inc backup_migrate_crud_ui_export($item_id = NULL)
icor7 crud.inc backup_migrate_crud_ui_export($item_id = NULL)
meedjum_blog7 crud.inc backup_migrate_crud_ui_export($item_id = NULL)
mooc7 crud.inc backup_migrate_crud_ui_export($item_id = NULL)

Export an item.

1 string reference to 'backup_migrate_crud_ui_export'
backup_migrate_item::get_menu_items in sites/all/modules/ulmus/backup_migrate/includes/crud.inc
Get the menu items for manipulating this type.

File

sites/all/modules/ulmus/backup_migrate/includes/crud.inc, line 170
CRUD functions for backup and migrate types (schedules, profiles etc.).

Code

function backup_migrate_crud_ui_export($item_id = NULL) {
  if ($type = backup_migrate_crud_type_load(arg(BACKUP_MIGRATE_MENU_DEPTH))) {
    if ($item_id && $item = $type->item($item_id)) {
      return drupal_get_form('backup_migrate_crud_export_form', $item->export());
    }
    drupal_goto(BACKUP_MIGRATE_MENU_PATH . '/' . arg(BACKUP_MIGRATE_MENU_DEPTH));
  }
}