You are here

public function Profile::user in Profile 2 7

Same name and namespace in other branches
  1. 7.2 profile2.module \Profile::user()

Returns the user owning this profile.

1 call to Profile::user()
Profile::defaultLabel in ./profile2.module
Defines the entity label if the 'entity_class_label' callback is used.

File

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

Class

Profile
The class used for profile entities.

Code

public function user() {
  return user_load($this->uid);
}