You are here

function backup_migrate_crud_ui_create in Backup and Migrate 7.3

Same name and namespace in other branches
  1. 8.2 includes/crud.inc \backup_migrate_crud_ui_create()
  2. 8.3 includes/crud.inc \backup_migrate_crud_ui_create()
  3. 6.3 includes/crud.inc \backup_migrate_crud_ui_create()
  4. 6.2 includes/crud.inc \backup_migrate_crud_ui_create()
  5. 7.2 includes/crud.inc \backup_migrate_crud_ui_create()

Page callback to create a new item.

1 string reference to 'backup_migrate_crud_ui_create'
backup_migrate_item::get_menu_items in includes/crud.inc
Get the menu items for manipulating this type.

File

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

Code

function backup_migrate_crud_ui_create($type, $subtype = NULL) {
  if ($item = backup_migrate_crud_create($type, $subtype)) {
    return drupal_get_form('backup_migrate_crud_edit_form', $item);
  }
  return drupal_not_found();
}