You are here

public function KeyRepository::__construct in Key 8

Constructs a new KeyRepository.

Parameters

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

\Drupal\Component\Plugin\PluginManagerInterface $key_provider_manager: The key provider plugin manager.

\Drupal\Component\Plugin\PluginManagerInterface $key_type_manager: The key type plugin manager.

\Drupal\Component\Plugin\PluginManagerInterface $key_input_manager: The key input plugin manager.

File

src/KeyRepository.php, line 53

Class

KeyRepository
Provides a repository for Key configuration entities.

Namespace

Drupal\key

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager, PluginManagerInterface $key_provider_manager, PluginManagerInterface $key_type_manager, PluginManagerInterface $key_input_manager) {
  $this->entityTypeManager = $entity_type_manager;
  $this->keyProviderManager = $key_provider_manager;
  $this->keyTypeManager = $key_type_manager;
  $this->keyInputManager = $key_input_manager;
}