You are here

function backup_migrate_crud_create in Backup and Migrate 7.3

Same name and namespace in other branches
  1. 8.3 includes/crud.inc \backup_migrate_crud_create()
  2. 6.3 includes/crud.inc \backup_migrate_crud_create()

Page callback to create a new item.

1 call to backup_migrate_crud_create()
backup_migrate_crud_ui_create in includes/crud.inc
Page callback to create a new item.

File

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

Code

function backup_migrate_crud_create($type, $subtype = NULL) {
  if ($item = backup_migrate_crud_type_load($type, $subtype)) {
    return $item;
  }
  return NULL;
}