You are here

public function OgRoleInterface::getRoleType in Organic groups 8

Returns the role type.

Return value

string The role type. One of OgRoleInterface::ROLE_TYPE_REQUIRED or OgRoleInterface::ROLE_TYPE_STANDARD.

1 method overrides OgRoleInterface::getRoleType()
OgRole::getRoleType in src/Entity/OgRole.php
Returns the role type.

File

src/OgRoleInterface.php, line 114

Class

OgRoleInterface
Provides an interface defining an OG user role entity.

Namespace

Drupal\og

Code

public function getRoleType();