You are here

public function KeyListBuilder::__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/KeyListBuilder.php, line 37

Class

KeyListBuilder
Provides a listing of keys.

Namespace

Drupal\key\Controller

Code

public function __construct(EntityTypeInterface $entity_type, EntityTypeManagerInterface $entity_type_manager, EntityStorageInterface $storage) {
  parent::__construct($entity_type, $storage);
  $this->entityTypeManager = $entity_type_manager;
}