You are here

public function WebformEncryptSubmissionStorage::__construct in Webform Encrypt 8

WebformEncryptSubmissionStorage constructor.

Parameters

\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition.

\Drupal\Core\Database\Connection $database: The database connection to be used.

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

\Drupal\Core\Cache\CacheBackendInterface $cache: The cache backend to be used.

\Drupal\Core\Language\LanguageManagerInterface $language_manager: The language manager.

\Drupal\Core\Session\AccountProxyInterface $current_user: Proxied implementation of AccountInterface, to access current user data.

\Drupal\webform\WebformAccessRulesManagerInterface $access_rules_manager: The webform access rules manager.

\Drupal\encrypt\EncryptServiceInterface $encryptService: The encryption Service.

Overrides WebformSubmissionStorage::__construct

File

src/WebformEncryptSubmissionStorage.php, line 53

Class

WebformEncryptSubmissionStorage
Alter webform submission storage definitions.

Namespace

Drupal\webform_encrypt

Code

public function __construct(EntityTypeInterface $entity_type, Connection $database, EntityTypeManagerInterface $entity_type_manager, CacheBackendInterface $cache, LanguageManagerInterface $language_manager, AccountProxyInterface $current_user, WebformAccessRulesManagerInterface $access_rules_manager, EncryptServiceInterface $encryptService) {
  parent::__construct($entity_type, $database, $entity_type_manager, $cache, $language_manager, $current_user, $access_rules_manager);
  $this->encryptionService = $encryptService;
}