You are here

function backup_migrate_crud_subtype_info in Backup and Migrate 6.3

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

Get the info for a particular crud subtype.

1 call to backup_migrate_crud_subtype_info()
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 79
CRUD functions for backup and migrate types (schedules, profiles etc.).

Code

function backup_migrate_crud_subtype_info($type, $subtype) {
  $types = backup_migrate_crud_subtypes($type);
  if (isset($types[$subtype])) {
    return $types[$subtype];
  }
  return NULL;
}