function backup_migrate_crud_ui_edit

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

Page callback to edit an item.

1 string reference to 'backup_migrate_crud_ui_edit'
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 88
CRUD functions for backup and migrate types (schedules, profiles etc.).

Code

function backup_migrate_crud_ui_edit($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_edit_form', $item);
    }
    drupal_goto(BACKUP_MIGRATE_MENU_PATH . '/' . arg(BACKUP_MIGRATE_MENU_DEPTH));
  }
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.