Skip to content

Commit

Permalink
Issue #15. Implement bundle()
Browse files Browse the repository at this point in the history
  • Loading branch information
argiepiano committed Oct 5, 2022
1 parent 447945c commit 3d64610
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions profile.entity.inc
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,13 @@ class Profile extends Entity {
return profile_get_types($this->type);
}

/**
* Returns the profile type for this profile.
*/
public function bundle() {
return $this->type;
}

/**
* Returns the full url() for the profile.
*/
Expand Down

0 comments on commit 3d64610

Please sign in to comment.