public function GroupRoleSynchronizer::__construct in Group 8
Same name and namespace in other branches
- 2.0.x 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\groupCode
public function __construct(EntityTypeManagerInterface $entity_type_manager) {
$this->entityTypeManager = $entity_type_manager;
}