public function PermissionProvider::__construct in Group 2.0.x
Constructs a new PermissionProvider.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
File
- src/
Plugin/ Group/ RelationHandlerDefault/ PermissionProvider.php, line 22
Class
- PermissionProvider
- Provides group permissions for group relation plugins.
Namespace
Drupal\group\Plugin\Group\RelationHandlerDefaultCode
public function __construct(EntityTypeManagerInterface $entity_type_manager) {
$this->entityTypeManager = $entity_type_manager;
}