You are here

public function Profile::path in Profile 2 7

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

Returns the drupal path to this profile.

File

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

Class

Profile
The class used for profile entities.

Code

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