You are here

public function GroupRoleSynchronizer::__construct in Group 2.0.x

Same name and namespace in other branches
  1. 8 src/GroupRoleSynchronizer.php \Drupal\group\GroupRoleSynchronizer::__construct()

Constructs a new GroupRoleSynchronizer.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.

File

src/GroupRoleSynchronizer.php, line 28

Class

GroupRoleSynchronizer
Synchronizes user roles to group roles.

Namespace

Drupal\group

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager) {
  $this->entityTypeManager = $entity_type_manager;
}