You are here

public static function OgRoleInterface::loadByGroupType in Organic groups 8

Returns the roles that are associated with the given group type and bundle.

Parameters

string $group_entity_type_id: The group entity type ID.

string $group_bundle_id_id: The group bundle ID.

Return value

\Drupal\og\OgRoleInterface[] The roles.

1 method overrides OgRoleInterface::loadByGroupType()
OgRole::loadByGroupType in src/Entity/OgRole.php
Returns the roles that are associated with the given group type and bundle.

File

src/OgRoleInterface.php, line 175

Class

OgRoleInterface
Provides an interface defining an OG user role entity.

Namespace

Drupal\og

Code

public static function loadByGroupType($group_entity_type_id, $group_bundle_id_id);