From 3d646102d51332c3e82d160440770281376174d6 Mon Sep 17 00:00:00 2001 From: argiepiano Date: Tue, 4 Oct 2022 20:40:44 -0600 Subject: [PATCH] Issue #15. Implement bundle() --- profile.entity.inc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/profile.entity.inc b/profile.entity.inc index 5d1c6e4..8e99bba 100644 --- a/profile.entity.inc +++ b/profile.entity.inc @@ -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. */