You are here

public function OgMembershipInterface::getType in Organic groups 8

Gets the membership type.

Return value

string The bundle of the membership type.

1 method overrides OgMembershipInterface::getType()
OgMembership::getType in src/Entity/OgMembership.php
Gets the membership type.

File

src/OgMembershipInterface.php, line 162

Class

OgMembershipInterface
Provides an interface for OG memberships.

Namespace

Drupal\og

Code

public function getType() : string;