You are here

function registration_type_delete in Entity Registration 7

Same name and namespace in other branches
  1. 8.2 registration.module \registration_type_delete()
  2. 8 registration.module \registration_type_delete()
  3. 7.2 registration.module \registration_type_delete()

Deletes a model type from the db.

File

./registration.module, line 2034

Code

function registration_type_delete(RegistrationType $type) {
  $type
    ->delete();
}