You are here

public function EntityformTypeListBuilder::__construct in Entityform 8.3

Constructs a EntityformTypeListBuilder 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/EntityformTypeListBuilder.php, line 43
Contains \Drupal\entityform\EntityformTypeListBuilder.

Class

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

Namespace

Drupal\entityform

Code

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