You are here

public function Profile::path in Profile 2 7.2

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

Returns the drupal path to this profile.

File

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

Class

Profile
The class used for profile entities.

Code

public function path() {
  $uri = $this
    ->uri();
  return $uri['path'];
}