You are here

public function BadgeListBuilder::__construct in User Badges 8

Constructs a new BlockListBuilder object.

Parameters

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

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

\Drupal\Core\Render\RendererInterface $renderer: The renderer.

Overrides EntityListBuilder::__construct

File

src/BadgeListBuilder.php, line 48
Contains \Drupal\user_badges\BadgeListBuilder.

Class

BadgeListBuilder
Defines a class to build a listing of Badge entities.

Namespace

Drupal\user_badges

Code

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