You are here

function backup_migrate_crud_type_info in Backup and Migrate 6.3

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

Get the info for a particular crud type.

2 calls to backup_migrate_crud_type_info()
backup_migrate_crud_subtypes in includes/crud.inc
Get a list of avaiable classes of each crud type.
backup_migrate_crud_type_load in includes/crud.inc
Get a generic object of the given type to be used for static-like functions.

File

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

Code

function backup_migrate_crud_type_info($type) {
  $types = backup_migrate_crud_types();
  if (isset($types[$type])) {
    return $types[$type];
  }
  return NULL;
}