You are here

public function WebformProtectedDownloadsManager::__construct in Webform Protected Downloads 8

Constructs a GroupContentCardinalityValidator object.

Parameters

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

File

src/WebformProtectedDownloadsManager.php, line 30

Class

WebformProtectedDownloadsManager
Class WebformProtectedDownloadsManager.

Namespace

Drupal\webform_protected_downloads

Code

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