public function OgMembershipInterface::getState in Organic groups 8
Gets the membership state.
Return value
string The state of the membership. It may be of the following constants:
- OgMembershipInterface::STATE_ACTIVE
- OgMembershipInterface::STATE_PENDING
- OgMembershipInterface::STATE_BLOCKED
1 method overrides OgMembershipInterface::getState()
- OgMembership::getState in src/
Entity/ OgMembership.php - Gets the membership state.
File
- src/
OgMembershipInterface.php, line 154
Class
- OgMembershipInterface
- Provides an interface for OG memberships.
Namespace
Drupal\ogCode
public function getState() : string;