You are here

public function EckEntityBundleListBuilder::__construct in Entity Construction Kit (ECK) 8

Constructs a EckEntityBundleListBuilder object.

Parameters

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

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

\Drupal\Core\Routing\UrlGeneratorInterface $url_generator: The url generator service.

Overrides EntityListBuilder::__construct

File

src/Controller/EckEntityBundleListBuilder.php, line 41

Class

EckEntityBundleListBuilder
Defines a class to build a listing of node type entities.

Namespace

Drupal\eck\Controller

Code

public function __construct(EntityTypeInterface $entity_type, EntityStorageInterface $storage, UrlGeneratorInterface $url_generator) {
  parent::__construct($entity_type, $storage);
  $this->urlGenerator = $url_generator;
}