public function Profile::type in Profile 2 7.2
Same name and namespace in other branches
- 7 profile2.module \Profile::type()
Gets the associated profile type object.
Return value
File
- ./
profile2.module, line 1196 - Support for configurable user profiles.
Class
- Profile
- The class used for profile entities.
Code
public function type() {
return profile2_get_types($this->type);
}