You are here

public function OgRoleManagerInterface::removeRoles in Organic groups 8

Deletes the roles associated with a group type.

Parameters

string $entity_type_id: The entity type ID of the group for which to delete the roles.

string $bundle_id: The bundle ID of the group for which to delete the roles.

1 method overrides OgRoleManagerInterface::removeRoles()
OgRoleManager::removeRoles in src/OgRoleManager.php
Deletes the roles associated with a group type.

File

src/OgRoleManagerInterface.php, line 92

Class

OgRoleManagerInterface
Defines an interface for OG role manager.

Namespace

Drupal\og

Code

public function removeRoles($entity_type_id, $bundle_id);