function profile2_type_save in Profile 2 7.2
Same name and namespace in other branches
- 7 profile2.module \profile2_type_save()
Saves a profile type to the db.
1 call to profile2_type_save()
- Profile2CRUDTestCase::setUp in ./
profile2.test - Sets up a Drupal site for running functional and integration tests.
File
- ./
profile2.module, line 518 - Support for configurable user profiles.
Code
function profile2_type_save(ProfileType $type) {
$type
->save();
}