You are here

public function SliderListBuilder::__construct in Image sliders 8

Constructs a new SliderListBuilder 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

src/Entity/Controller/SliderListBuilder.php, line 45

Class

SliderListBuilder
Provides a list controller for image_slider entity.

Namespace

Drupal\image_slider\Entity\Controller

Code

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