You are here

public function TranscodeJobListBuilder::__construct in Video 8.2

Constructs a new TranscodeJobListBuilder 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.

Overrides EntityListBuilder::__construct

File

modules/video_transcode/src/Controller/TranscodeJobListBuilder.php, line 48

Class

TranscodeJobListBuilder
Provides a list controller for video_transcode entity.

Namespace

Drupal\video_transcode\Controller

Code

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