You are here

public function KeyConfigOverrideListBuilder::__construct in Key 8

Constructs a new EntityListBuilder object.

Parameters

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

\Drupal\Core\Entity\EntityStorageInterface $storage: The entity storage class.

Overrides EntityListBuilder::__construct

File

src/Controller/KeyConfigOverrideListBuilder.php, line 46

Class

KeyConfigOverrideListBuilder
Provides a listing of key configuration overrides.

Namespace

Drupal\key\Controller

Code

public function __construct(EntityTypeInterface $entity_type, EntityTypeManagerInterface $entity_type_manager, EntityStorageInterface $storage, ConfigManagerInterface $config_manager, KeyRepositoryInterface $key_repository) {
  parent::__construct($entity_type, $storage);
  $this->entityTypeManager = $entity_type_manager;
  $this->configManager = $config_manager;
  $this->keyRepository = $key_repository;
}