You are here

function profile2_type_delete in Profile 2 7.2

Same name and namespace in other branches
  1. 7 profile2.module \profile2_type_delete()

Deletes a profile type from.

1 call to profile2_type_delete()
Profile2CRUDTestCase::testCRUD in ./profile2.test
Tests CRUD for a profile related to a user and one unrelated to a user.

File

./profile2.module, line 525
Support for configurable user profiles.

Code

function profile2_type_delete(ProfileType $type) {
  $type
    ->delete();
}