Skip to content

Commit

Permalink
Merge pull request #16 from argiepiano/1.x-1.x-issue-15
Browse files Browse the repository at this point in the history
Issue #15. Implement bundle()
  • Loading branch information
bugfolder authored Oct 15, 2022
2 parents a3c3601 + 3d64610 commit a459212
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 a459212

Please sign in to comment.